Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterProperties.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.001258/0.001258, allocations: 78.81 kB / 19.18 MB, free: 2.516 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.001418/0.001418, allocations: 162.7 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.476/1.476, allocations: 177.1 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.198/1.198, allocations: 154.6 MB / 413.8 MB, free: 5.242 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.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.6186 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.293e-05/3.502e-05, allocations: 5.328 kB / 0.6186 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.006731/0.006766, allocations: 4.512 MB / 0.623 GB, free: 15.99 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003168/0.009934, allocations: 2.464 MB / 0.6254 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.01004, allocations: 0 / 0.6254 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003409/0.01038, allocations: 47.67 kB / 0.6255 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003361/0.01072, allocations: 95.25 kB / 0.6256 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.01226, allocations: 0.5392 MB / 0.6261 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003261/0.01259, allocations: 239.8 kB / 0.6263 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.955e-05/0.01263, allocations: 5.812 kB / 0.6263 GB, free: 12.6 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003019/0.01294, allocations: 159.6 kB / 0.6265 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.0131, allocations: 75.77 kB / 0.6265 GB, free: 12.37 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.399e-05/0.01313, allocations: 8 kB / 0.6265 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007153/0.01384, allocations: 323.1 kB / 0.6269 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.083e-05/0.01394, allocations: 35.89 kB / 0.6269 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.141e-05/0.01403, allocations: 67.83 kB / 0.627 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006455/0.01467, allocations: 382.9 kB / 0.6273 GB, free: 11.57 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.01468, allocations: 3.938 kB / 0.6273 GB, free: 11.57 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.382e-06/0.01468, allocations: 0 / 0.6273 GB, free: 11.57 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.01468, allocations: 0 / 0.6273 GB, free: 11.57 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.0008735/0.01556, allocations: 433.5 kB / 0.6277 GB, free: 11.11 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.337e-05/0.01562, allocations: 12.03 kB / 0.6277 GB, free: 11.1 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/0.0158, allocations: 24.83 kB / 0.6278 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.01613, allocations: 157.5 kB / 0.6279 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.01615, allocations: 12.7 kB / 0.6279 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.01618, allocations: 20.38 kB / 0.628 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005936/0.01677, allocations: 496.8 kB / 0.6284 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.01678, allocations: 192 / 0.6284 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.01681, allocations: 8.125 kB / 0.6284 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.499e-05/0.01685, allocations: 8 kB / 0.6284 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005372/0.01738, allocations: 419.5 kB / 0.6288 GB, free: 9.879 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.01856, allocations: 0.7817 MB / 0.6296 GB, free: 9.051 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/0.01893, allocations: 148.4 kB / 0.6297 GB, free: 8.898 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.01904, allocations: 56.84 kB / 0.6298 GB, free: 8.84 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007845/0.01983, allocations: 447.8 kB / 0.6302 GB, free: 8.383 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.01986, allocations: 34.56 kB / 0.6303 GB, free: 8.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.01986, allocations: 0 / 0.6303 GB, free: 8.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0003777/0.02024, allocations: 144.2 kB / 0.6304 GB, free: 8.195 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.02029, allocations: 55.41 kB / 0.6304 GB, free: 8.129 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.02046, allocations: 165.6 kB / 0.6306 GB, free: 7.961 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.02049, allocations: 25.7 kB / 0.6306 GB, free: 7.93 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.02063, allocations: 156 kB / 0.6308 GB, free: 7.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.597e-05/0.02067, allocations: 51.59 kB / 0.6308 GB, free: 7.719 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.26e-05/0.02075, allocations: 57.64 kB / 0.6309 GB, free: 7.656 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.02093, allocations: 326.8 kB / 0.6312 GB, free: 7.328 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.126e-05/0.021, allocations: 31.98 kB / 0.6312 GB, free: 7.297 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.02116, allocations: 150.8 kB / 0.6314 GB, free: 7.102 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002731/0.02143, allocations: 193.5 kB / 0.6316 GB, free: 6.863 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.02143, allocations: 0 / 0.6316 GB, free: 6.863 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003614/0.02179, allocations: 219.7 kB / 0.6318 GB, free: 6.645 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.02181, allocations: 5.875 kB / 0.6318 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.02182, allocations: 4 kB / 0.6318 GB, free: 6.637 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.02184, allocations: 8 kB / 0.6318 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.02203, allocations: 60.38 kB / 0.6318 GB, free: 6.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.02204, allocations: 8 kB / 0.6318 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.02215, allocations: 23.84 kB / 0.6319 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.02217, allocations: 12 kB / 0.6319 GB, free: 6.527 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001426/0.02231, allocations: 141.6 kB / 0.632 GB, free: 6.379 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/0.02237, allocations: 15.91 kB / 0.632 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003259/0.02269, allocations: 158.2 kB / 0.6322 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.0227, allocations: 4 kB / 0.6322 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.02271, allocations: 0 / 0.6322 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.02272, allocations: 0 / 0.6322 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.02295, allocations: 161.2 kB / 0.6323 GB, free: 6.012 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.02295, allocations: 0 / 0.6323 GB, free: 6.012 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.02307, allocations: 27.98 kB / 0.6324 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.02308, allocations: 7.984 kB / 0.6324 GB, free: 5.977 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.02309, allocations: 4 kB / 0.6324 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.02309, allocations: 3.938 kB / 0.6324 GB, free: 5.969 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.0231, allocations: 4 kB / 0.6324 GB, free: 5.965 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.02338, allocations: 223.2 kB / 0.6326 GB, free: 5.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.058e-05/0.02345, allocations: 35.86 kB / 0.6326 GB, free: 5.695 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.02347, allocations: 7.984 kB / 0.6326 GB, free: 5.688 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/0.02366, allocations: 12 kB / 0.6327 GB, free: 5.676 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.0237, allocations: 15.97 kB / 0.6327 GB, free: 5.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.02372, allocations: 8 kB / 0.6327 GB, free: 5.652 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.658e-05/0.02381, allocations: 115.3 kB / 0.6328 GB, free: 5.539 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.02381, allocations: 0 / 0.6328 GB, free: 5.539 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000401/0.02421, allocations: 83.81 kB / 0.6329 GB, free: 5.457 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003746/0.02459, allocations: 175 kB / 0.633 GB, free: 5.277 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002468/0.02483, allocations: 118.6 kB / 0.6331 GB, free: 5.164 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.02484, allocations: 0 / 0.6331 GB, free: 5.164 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.591e-05/0.0249, allocations: 39.92 kB / 0.6332 GB, free: 5.125 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.02529, allocations: 44.84 kB / 0.6332 GB, free: 5.082 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007098/0.026, allocations: 302.1 kB / 0.6335 GB, free: 4.762 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.02611, allocations: 102.9 kB / 0.6336 GB, free: 4.641 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001379/0.02625, allocations: 45.38 kB / 0.6337 GB, free: 4.598 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.02629, allocations: 20.5 kB / 0.6337 GB, free: 4.578 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.02629, allocations: 0 / 0.6337 GB, free: 4.578 MB / 0.545 GB Notification: Performance of Templates: time 0.008064/0.03436, allocations: 3.13 MB / 0.6367 GB, free: 1.535 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.WaterProperties.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterProperties.sim & ./IDEAS_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.058629427105188] Failed to read output from testmodel.py, exit status != 0: 0.04379952698945999 0.058800639 0.040954035 Calling exit ...