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.00077/0.00077, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008321/0.0008321, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8821/0.8821, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.7197/0.7197, allocations: 154.6 MB / 414.5 MB, free: 0.793 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: 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 1.273e-06/1.273e-06, allocations: 0 / 0.6193 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.638e-05/1.765e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.004103/0.004121, allocations: 4.5 MB / 0.6237 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001495/0.005616, allocations: 2.461 MB / 0.6261 GB, free: 6.145 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.997e-05/0.005676, allocations: 4 kB / 0.6262 GB, free: 6.141 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.005885, allocations: 43.62 kB / 0.6262 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.006073, allocations: 99.3 kB / 0.6263 GB, free: 6 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008455/0.006918, allocations: 0.5414 MB / 0.6268 GB, free: 5.465 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.007091, allocations: 239.8 kB / 0.627 GB, free: 5.227 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.51e-05/0.007126, allocations: 9.812 kB / 0.6271 GB, free: 5.219 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.007284, allocations: 159.5 kB / 0.6272 GB, free: 5.062 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.148e-05/0.007375, allocations: 75.78 kB / 0.6273 GB, free: 4.988 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.007393, allocations: 8 kB / 0.6273 GB, free: 4.98 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003271/0.007721, allocations: 319.1 kB / 0.6276 GB, free: 4.668 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.389e-05/0.007774, allocations: 43.81 kB / 0.6276 GB, free: 4.625 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.576e-05/0.00782, allocations: 55.91 kB / 0.6277 GB, free: 4.57 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003759/0.008196, allocations: 386.8 kB / 0.6281 GB, free: 4.191 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.008198, allocations: 3.938 kB / 0.6281 GB, free: 4.188 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.82e-07/0.008199, allocations: 0 / 0.6281 GB, free: 4.188 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.008202, allocations: 0 / 0.6281 GB, free: 4.188 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005001/0.008702, allocations: 445.4 kB / 0.6285 GB, free: 3.719 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.008733, allocations: 8.031 kB / 0.6285 GB, free: 3.711 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.175e-05/0.008825, allocations: 24.83 kB / 0.6285 GB, free: 3.688 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.008989, allocations: 153.5 kB / 0.6287 GB, free: 3.512 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.009003, allocations: 12.7 kB / 0.6287 GB, free: 3.5 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.432e-05/0.009037, allocations: 28.3 kB / 0.6287 GB, free: 3.473 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003292/0.009366, allocations: 485 kB / 0.6292 GB, free: 2.926 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.009376, allocations: 192 / 0.6292 GB, free: 2.926 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.009398, allocations: 20.09 kB / 0.6292 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.009418, allocations: 4 kB / 0.6292 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002948/0.009713, allocations: 427.3 kB / 0.6296 GB, free: 2.484 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006892/0.0104, allocations: 0.7662 MB / 0.6303 GB, free: 1.672 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.01063, allocations: 151.5 kB / 0.6305 GB, free: 1.512 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.373e-05/0.0107, allocations: 60.88 kB / 0.6305 GB, free: 1.449 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004202/0.01112, allocations: 443.9 kB / 0.631 GB, free: 0.9961 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.01113, allocations: 38.5 kB / 0.631 GB, free: 0.9492 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 1.132e-06/0.01113, allocations: 0 / 0.631 GB, free: 0.9492 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0002152/0.01135, allocations: 145.5 kB / 0.6311 GB, free: 0.8008 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.01137, allocations: 51.41 kB / 0.6312 GB, free: 0.7383 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.425e-05/0.01146, allocations: 161.7 kB / 0.6313 GB, free: 0.5742 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.01147, allocations: 33.7 kB / 0.6314 GB, free: 0.5352 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.319e-05/0.01153, allocations: 140.1 kB / 0.6315 GB, free: 404 kB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.01155, allocations: 59.52 kB / 0.6316 GB, free: 344 kB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.0116, allocations: 53.66 kB / 0.6316 GB, free: 284 kB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.066e-05/0.01168, allocations: 326.8 kB / 0.6319 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.014e-05/0.01172, allocations: 35.97 kB / 0.632 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.459e-05/0.0118, allocations: 142.2 kB / 0.6321 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.01195, allocations: 200.6 kB / 0.6323 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01195, allocations: 0 / 0.6323 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001958/0.01215, allocations: 221.1 kB / 0.6325 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.01216, allocations: 8 kB / 0.6325 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.01216, allocations: 0 / 0.6325 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.01218, allocations: 8 kB / 0.6325 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.01228, allocations: 56.38 kB / 0.6326 GB, free: 15.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.01228, allocations: 8 kB / 0.6326 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.532e-05/0.01234, allocations: 23.84 kB / 0.6326 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.01235, allocations: 16 kB / 0.6326 GB, free: 15.14 MB / 0.6042 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 6.857e-05/0.01242, allocations: 141.5 kB / 0.6328 GB, free: 15 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.01245, allocations: 19.88 kB / 0.6328 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.01263, allocations: 158.3 kB / 0.6329 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.01263, allocations: 0 / 0.6329 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.01263, allocations: 0 / 0.6329 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01264, allocations: 0 / 0.6329 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.01276, allocations: 157.2 kB / 0.6331 GB, free: 14.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.01276, allocations: 4 kB / 0.6331 GB, free: 14.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.349e-05/0.01282, allocations: 27.98 kB / 0.6331 GB, free: 14.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.01282, allocations: 0 / 0.6331 GB, free: 14.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.01282, allocations: 4 kB / 0.6331 GB, free: 14.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.01283, allocations: 11.92 kB / 0.6331 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.01283, allocations: 0 / 0.6331 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.01297, allocations: 214.5 kB / 0.6333 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.841e-05/0.01301, allocations: 31.81 kB / 0.6334 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.01302, allocations: 8 kB / 0.6334 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.253e-05/0.01311, allocations: 15.98 kB / 0.6334 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.758e-05/0.01313, allocations: 15.97 kB / 0.6334 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.01314, allocations: 11.98 kB / 0.6334 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.545e-05/0.01319, allocations: 114.8 kB / 0.6335 GB, free: 14.17 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.01319, allocations: 0 / 0.6335 GB, free: 14.17 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002354/0.01342, allocations: 79.88 kB / 0.6336 GB, free: 14.09 MB / 0.6042 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.0001936/0.01362, allocations: 187 kB / 0.6338 GB, free: 13.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001518/0.01377, allocations: 119.7 kB / 0.6339 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01377, allocations: 0 / 0.6339 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.973e-05/0.01381, allocations: 35.92 kB / 0.6339 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.01404, allocations: 51.14 kB / 0.634 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004376/0.01448, allocations: 336.1 kB / 0.6343 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.215e-05/0.01454, allocations: 110.7 kB / 0.6344 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/0.01458, allocations: 28.5 kB / 0.6344 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of SimCode: time 4.71e-07/0.01458, allocations: 0 / 0.6344 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of Templates: time 0.003193/0.01777, allocations: 3.151 MB / 0.6375 GB, free: 10.06 MB / 0.6042 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: 5.393311441875994] Failed to read output from testmodel.py, exit status != 0: 0.02272928599268198 0.030081302 0.020415410000000002 Calling exit ...