Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.0007848/0.0007848, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008021/0.0008021, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8942/0.8942, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.713/0.713, allocations: 154.6 MB / 413.7 MB, free: 0.7812 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.885e-05/2.056e-05, allocations: 6.281 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002809/0.002829, allocations: 1.772 MB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003319/0.003161, allocations: 123.6 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.568e-05/0.003237, allocations: 3.938 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.612e-05/0.003333, allocations: 15.8 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.854e-05/0.003402, allocations: 59.55 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001123/0.003514, allocations: 31.89 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.003671, allocations: 183 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.872e-05/0.00377, allocations: 21.23 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.395e-05/0.003854, allocations: 79.8 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.132e-05/0.003925, allocations: 59.81 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.003951, allocations: 8 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.541e-05/0.003966, allocations: 12 kB / 0.6204 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.477e-05/0.003991, allocations: 27.91 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.742e-05/0.004028, allocations: 39.92 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.004164, allocations: 135.6 kB / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.004166, allocations: 0 / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.22e-07/0.004167, allocations: 4 kB / 0.6206 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.004171, allocations: 0 / 0.6206 GB, free: 11.12 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004949/0.004666, allocations: 373.7 kB / 0.6209 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.004703, allocations: 8.031 kB / 0.6209 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001785/0.004882, allocations: 38.75 kB / 0.621 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.00491, allocations: 16.84 kB / 0.621 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.005098, allocations: 149.5 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.005109, allocations: 8.375 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.005121, allocations: 4.375 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.005313, allocations: 123.8 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.00532, allocations: 192 / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.005331, allocations: 4.375 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.005336, allocations: 4.125 kB / 0.6213 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.005506, allocations: 99.86 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004986/0.006005, allocations: 416 kB / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.00626, allocations: 125.2 kB / 0.6219 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.017e-05/0.00635, allocations: 57.78 kB / 0.6219 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.00637, allocations: 0 / 0.6219 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.006389, allocations: 42.5 kB / 0.622 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 9.22e-07/0.00639, allocations: 0 / 0.622 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0003436/0.006734, allocations: 177.5 kB / 0.6221 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.006765, allocations: 77.11 kB / 0.6222 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.006868, allocations: 179.4 kB / 0.6224 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.006879, allocations: 25.7 kB / 0.6224 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.282e-05/0.006932, allocations: 120 kB / 0.6225 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.006952, allocations: 31.7 kB / 0.6225 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.753e-05/0.006989, allocations: 21.7 kB / 0.6226 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.862e-05/0.007068, allocations: 326.8 kB / 0.6229 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.929e-05/0.007147, allocations: 43.97 kB / 0.6229 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.012e-05/0.007227, allocations: 65.56 kB / 0.623 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.007387, allocations: 113.8 kB / 0.6231 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.007389, allocations: 0 / 0.6231 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001897/0.007579, allocations: 137.6 kB / 0.6232 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.00759, allocations: 4 kB / 0.6232 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.778e-06/0.007595, allocations: 0 / 0.6232 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.007607, allocations: 8 kB / 0.6232 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.519e-05/0.007682, allocations: 23.92 kB / 0.6233 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.007686, allocations: 0 / 0.6233 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.262e-05/0.007739, allocations: 15.94 kB / 0.6233 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.007748, allocations: 8 kB / 0.6233 GB, free: 8.102 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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 6.421e-05/0.007812, allocations: 118.8 kB / 0.6234 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.00784, allocations: 16.09 kB / 0.6234 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002393/0.008079, allocations: 162.7 kB / 0.6236 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.008082, allocations: 4 kB / 0.6236 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.008086, allocations: 0 / 0.6236 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.008089, allocations: 0 / 0.6236 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.008267, allocations: 180.6 kB / 0.6237 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.008269, allocations: 0 / 0.6237 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.878e-05/0.008328, allocations: 19.98 kB / 0.6238 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.008329, allocations: 0 / 0.6238 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.008338, allocations: 4 kB / 0.6238 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.008339, allocations: 8.125 kB / 0.6238 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.008341, allocations: 3.984 kB / 0.6238 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.008571, allocations: 318.6 kB / 0.6241 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.537e-05/0.008587, allocations: 11.91 kB / 0.6241 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.008603, allocations: 4 kB / 0.6241 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.416e-05/0.008687, allocations: 11.98 kB / 0.6241 GB, free: 7.184 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.008723, allocations: 3.984 kB / 0.6241 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.008728, allocations: 8 kB / 0.6241 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.247e-05/0.008791, allocations: 129.5 kB / 0.6242 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.008791, allocations: 288 / 0.6242 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001915/0.008982, allocations: 28 kB / 0.6243 GB, free: 7.02 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.0003761/0.009358, allocations: 0.8404 MB / 0.6251 GB, free: 6.152 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001979/0.009556, allocations: 103.9 kB / 0.6252 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.009558, allocations: 0 / 0.6252 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.143e-05/0.009639, allocations: 55.84 kB / 0.6252 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.00992, allocations: 34.23 kB / 0.6253 GB, free: 5.965 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.01125, allocations: 1.843 MB / 0.6271 GB, free: 4.035 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.647e-05/0.01131, allocations: 89.81 kB / 0.6272 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.37e-05/0.01136, allocations: 12.78 kB / 0.6272 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.931e-05/0.01142, allocations: 36.48 kB / 0.6272 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of SimCode: time 4.71e-07/0.01142, allocations: 4 kB / 0.6272 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01556/0.02698, allocations: 4.587 MB / 0.6317 GB, free: 15.51 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.539/6.566, allocations: 10.19 kB / 0.6317 GB, free: 15.51 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > IDEAS_IDEAS.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.192214441485703] Failed to read output from testmodel.py, exit status != 0: 6.651343457400799 6.665437354 6.658698856 Calling exit ...