Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.001681/0.001681, allocations: 79.36 kB / 19.18 MB, free: 2.52 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.002174/0.002174, allocations: 166.8 kB / 22.46 MB, free: 5.375 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.49/1.49, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 1.232/1.232, allocations: 154.6 MB / 413.8 MB, free: 5.219 MB / 382.1 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 178] 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: translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.6186 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.112e-05/3.285e-05, allocations: 6.172 kB / 0.6186 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005872/0.005904, allocations: 3.898 MB / 0.6224 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002946/0.00885, allocations: 2.235 MB / 0.6246 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.008952, allocations: 4 kB / 0.6246 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.009265, allocations: 39.69 kB / 0.6247 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000331/0.009596, allocations: 111.2 kB / 0.6248 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.01114, allocations: 0.5547 MB / 0.6253 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003512/0.01149, allocations: 271.7 kB / 0.6256 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.987e-05/0.01154, allocations: 5.812 kB / 0.6256 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002779/0.01182, allocations: 147.6 kB / 0.6257 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.01199, allocations: 91.75 kB / 0.6258 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.01202, allocations: 8 kB / 0.6258 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008182/0.01284, allocations: 403 kB / 0.6262 GB, free: 12.72 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.219e-05/0.01293, allocations: 43.88 kB / 0.6262 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.01304, allocations: 63.83 kB / 0.6263 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007263/0.01377, allocations: 442.7 kB / 0.6267 GB, free: 12.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.01377, allocations: 0 / 0.6267 GB, free: 12.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.823e-06/0.01378, allocations: 0 / 0.6267 GB, free: 12.18 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.01378, allocations: 0 / 0.6267 GB, free: 12.18 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009147/0.0147, allocations: 445.4 kB / 0.6272 GB, free: 11.71 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 0.000132/0.01483, allocations: 16.03 kB / 0.6272 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002103/0.01693, allocations: 184.6 kB / 0.6273 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/0.0173, allocations: 149.6 kB / 0.6275 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.01733, allocations: 12.7 kB / 0.6275 GB, free: 11.33 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.162e-05/0.01737, allocations: 24.31 kB / 0.6275 GB, free: 11.31 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008589/0.01823, allocations: 0.4955 MB / 0.628 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.01824, allocations: 4.188 kB / 0.628 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.01828, allocations: 12.06 kB / 0.628 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.757e-05/0.01831, allocations: 8 kB / 0.628 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000747/0.01906, allocations: 259.6 kB / 0.6283 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.02082, allocations: 1.169 MB / 0.6294 GB, free: 9.219 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007197/0.02154, allocations: 186.5 kB / 0.6296 GB, free: 9.027 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002231/0.02176, allocations: 64.81 kB / 0.6297 GB, free: 8.961 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.02179, allocations: 7.938 kB / 0.6297 GB, free: 8.953 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.02183, allocations: 42.5 kB / 0.6297 GB, free: 8.902 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.02183, allocations: 4 kB / 0.6297 GB, free: 8.898 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0008504/0.02268, allocations: 243.6 kB / 0.6299 GB, free: 8.656 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.02274, allocations: 55.41 kB / 0.63 GB, free: 8.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.02289, allocations: 148 kB / 0.6301 GB, free: 8.438 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.298e-05/0.02294, allocations: 25.7 kB / 0.6302 GB, free: 8.406 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.98e-05/0.02303, allocations: 136.3 kB / 0.6303 GB, free: 8.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.083e-05/0.0231, allocations: 67.38 kB / 0.6304 GB, free: 8.203 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.02321, allocations: 49.92 kB / 0.6304 GB, free: 8.145 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.02336, allocations: 322.8 kB / 0.6307 GB, free: 7.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.02358, allocations: 64.42 kB / 0.6308 GB, free: 7.758 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002824/0.02386, allocations: 139.7 kB / 0.6309 GB, free: 7.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005194/0.02438, allocations: 217.2 kB / 0.6311 GB, free: 7.344 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.02438, allocations: 7.938 kB / 0.6311 GB, free: 7.336 MB / 0.545 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006242/0.02501, allocations: 255.7 kB / 0.6314 GB, free: 7.082 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.02503, allocations: 4.312 kB / 0.6314 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.02504, allocations: 8 kB / 0.6314 GB, free: 7.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.02506, allocations: 4 kB / 0.6314 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/0.02544, allocations: 67.89 kB / 0.6314 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/0.02546, allocations: 7.984 kB / 0.6315 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.02567, allocations: 19.89 kB / 0.6315 GB, free: 6.973 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.0257, allocations: 15.98 kB / 0.6315 GB, free: 6.957 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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.0001561/0.02586, allocations: 126.7 kB / 0.6316 GB, free: 6.824 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.797e-05/0.02593, allocations: 23.84 kB / 0.6316 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006896/0.02662, allocations: 236.2 kB / 0.6319 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.02662, allocations: 4 kB / 0.6319 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.02663, allocations: 0 / 0.6319 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.02663, allocations: 0 / 0.6319 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.02689, allocations: 173.2 kB / 0.632 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.02689, allocations: 0 / 0.632 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003241/0.02722, allocations: 47.95 kB / 0.6321 GB, free: 6.312 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.02722, allocations: 4 kB / 0.6321 GB, free: 6.309 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.02724, allocations: 11.94 kB / 0.6321 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.02724, allocations: 4 kB / 0.6321 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.02725, allocations: 4 kB / 0.6321 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006105/0.02786, allocations: 289.5 kB / 0.6324 GB, free: 5.992 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.653e-05/0.02794, allocations: 31.81 kB / 0.6324 GB, free: 5.961 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.056e-05/0.02799, allocations: 7.938 kB / 0.6324 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.02825, allocations: 19.92 kB / 0.6324 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.02829, allocations: 15.97 kB / 0.6324 GB, free: 5.918 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/0.02832, allocations: 12 kB / 0.6325 GB, free: 5.906 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.439e-05/0.02841, allocations: 104.6 kB / 0.6326 GB, free: 5.805 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.02841, allocations: 0 / 0.6326 GB, free: 5.805 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004103/0.02882, allocations: 71.81 kB / 0.6326 GB, free: 5.734 MB / 0.545 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 (20): * Single equations (assignments): 20 * 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.000332/0.02915, allocations: 143.1 kB / 0.6328 GB, free: 5.586 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005735/0.02973, allocations: 167.8 kB / 0.6329 GB, free: 5.422 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.02973, allocations: 0.625 kB / 0.6329 GB, free: 5.422 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000243/0.02997, allocations: 87.88 kB / 0.633 GB, free: 5.336 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/0.03042, allocations: 36.91 kB / 0.633 GB, free: 5.301 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.03151, allocations: 362 kB / 0.6334 GB, free: 4.922 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.03165, allocations: 106.7 kB / 0.6335 GB, free: 4.793 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002357/0.03189, allocations: 49.45 kB / 0.6335 GB, free: 4.746 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.03199, allocations: 28.48 kB / 0.6336 GB, free: 4.719 MB / 0.545 GB Notification: Performance of SimCode: time 7.92e-07/0.03199, allocations: 4 kB / 0.6336 GB, free: 4.715 MB / 0.545 GB Notification: Performance of Templates: time 0.007783/0.03978, allocations: 3.021 MB / 0.6365 GB, free: 1.82 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.176381792873144] Failed to read output from testmodel.py, exit status != 0: 0.049374766647815704 0.06263973 0.045959053 Calling exit ...