Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002116/0.002116, allocations: 97.91 kB / 20.48 MB, free: 1.363 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 213.4 kB / 23.78 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.545/1.545, allocations: 230.6 MB / 257.6 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9644/0.9644, allocations: 150 MB / 464 MB, free: 10.19 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 65.39 kB / 0.642 GB, free: 9.848 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.203, allocations: 89.17 MB / 0.7291 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002235/0.2053, allocations: 0.6886 MB / 0.7298 GB, free: 68 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.2064, allocations: 0.8237 MB / 0.7306 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.025e-05/0.2064, allocations: 4 kB / 0.7306 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.891e-05/0.2065, allocations: 0 / 0.7306 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.672e-05/0.2065, allocations: 7.875 kB / 0.7306 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 6.823e-05/0.2066, allocations: 15.98 kB / 0.7306 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.582e-05/0.2067, allocations: 35.92 kB / 0.7306 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.2068, allocations: 15.97 kB / 0.7306 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.69e-05/0.2069, allocations: 19.92 kB / 0.7307 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.947e-05/0.2069, allocations: 19.92 kB / 0.7307 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.207, allocations: 4 kB / 0.7307 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.165e-06/0.207, allocations: 0 / 0.7307 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.071e-05/0.207, allocations: 19.92 kB / 0.7307 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.395e-05/0.207, allocations: 11.94 kB / 0.7307 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.2071, allocations: 44.03 kB / 0.7308 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2071, allocations: 4 kB / 0.7308 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.963e-06/0.2071, allocations: 0 / 0.7308 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.2071, allocations: 0 / 0.7308 GB, free: 15.03 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005488/0.2077, allocations: 290.2 kB / 0.731 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.2077, allocations: 8.031 kB / 0.731 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.407e-05/0.2077, allocations: 4.188 kB / 0.731 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.476e-05/0.2078, allocations: 34.75 kB / 0.7311 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/0.2078, allocations: 8.938 kB / 0.7311 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.208, allocations: 114.4 kB / 0.7312 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.208, allocations: 4.375 kB / 0.7312 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.208, allocations: 384 / 0.7312 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.2083, allocations: 73.95 kB / 0.7313 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.2083, allocations: 4 kB / 0.7313 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.2083, allocations: 0 / 0.7313 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.2083, allocations: 3.938 kB / 0.7313 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003012/0.2086, allocations: 67.88 kB / 0.7313 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.209, allocations: 231.9 kB / 0.7316 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.2092, allocations: 54.64 kB / 0.7316 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.2093, allocations: 40.81 kB / 0.7317 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.2093, allocations: 7.984 kB / 0.7317 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.2094, allocations: 38.5 kB / 0.7317 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2094, allocations: 0 / 0.7317 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.000535/0.2099, allocations: 129.5 kB / 0.7318 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.21, allocations: 55.41 kB / 0.7319 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.611e-05/0.2101, allocations: 109.8 kB / 0.732 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.2101, allocations: 25.7 kB / 0.732 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/0.2101, allocations: 88.14 kB / 0.7321 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.2102, allocations: 3.953 kB / 0.7321 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.2102, allocations: 21.7 kB / 0.7321 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.2103, allocations: 314.8 kB / 0.7324 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.2105, allocations: 31.97 kB / 0.7324 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.2106, allocations: 39.89 kB / 0.7325 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.2109, allocations: 68.78 kB / 0.7325 GB, free: 13 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2109, allocations: 0 / 0.7325 GB, free: 13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003181/0.2112, allocations: 97.58 kB / 0.7326 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.2112, allocations: 8 kB / 0.7326 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2112, allocations: 4 kB / 0.7327 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.2113, allocations: 0 / 0.7327 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.2114, allocations: 15.98 kB / 0.7327 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.2114, allocations: 320 / 0.7327 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.691e-05/0.2115, allocations: 15.97 kB / 0.7327 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.2115, allocations: 0 / 0.7327 GB, free: 12.86 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.2116, allocations: 117.7 kB / 0.7328 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.2116, allocations: 7.953 kB / 0.7328 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.321e-05/0.2117, allocations: 12 kB / 0.7328 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2117, allocations: 0 / 0.7328 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.2117, allocations: 4 kB / 0.7328 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2117, allocations: 0 / 0.7328 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.2118, allocations: 132.7 kB / 0.7329 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.2118, allocations: 0 / 0.7329 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.554e-05/0.2119, allocations: 19.91 kB / 0.733 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2119, allocations: 0 / 0.733 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.212, allocations: 4 kB / 0.733 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.212, allocations: 0 / 0.733 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.212, allocations: 7.984 kB / 0.733 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.2123, allocations: 191.4 kB / 0.7332 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.668e-05/0.2124, allocations: 11.89 kB / 0.7332 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.2124, allocations: 3.984 kB / 0.7332 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.2125, allocations: 15.92 kB / 0.7332 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/0.2125, allocations: 7.938 kB / 0.7332 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.2125, allocations: 384 / 0.7332 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.563e-05/0.2126, allocations: 95.27 kB / 0.7333 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2126, allocations: 0 / 0.7333 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000218/0.2128, allocations: 4 kB / 0.7333 GB, free: 12.16 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007334/0.2136, allocations: 0.7319 MB / 0.734 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003467/0.2139, allocations: 75.86 kB / 0.7341 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2139, allocations: 0 / 0.7341 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.214, allocations: 31.97 kB / 0.7341 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.2144, allocations: 10.02 kB / 0.7341 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005173/0.2149, allocations: 155.1 kB / 0.7343 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.364e-05/0.215, allocations: 75.28 kB / 0.7343 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.227e-05/0.215, allocations: 0 / 0.7343 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.161e-05/0.2151, allocations: 15.44 kB / 0.7344 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of SimCode: time 2.8e-07/0.2151, allocations: 0 / 0.7344 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.2371, allocations: 1.824 MB / 0.7361 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.54, allocations: 5 kB / 0.7361 GB, free: 9.32 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.559222923940979] Failed to read output from testmodel.py, exit status != 0: 11.706481816014275 11.723704372 11.513134937 Calling exit ...