Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.00153/0.00153, allocations: 79.59 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.001622/0.001622, allocations: 164.3 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.491/1.491, 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 master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.264/1.264, allocations: 154.6 MB / 413.7 MB, free: 5.297 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.6185 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.532e-05/3.717e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.006769/0.006806, allocations: 4.506 MB / 0.6229 GB, free: 92 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003123/0.009929, allocations: 2.461 MB / 0.6253 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.01004, allocations: 4 kB / 0.6254 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003353/0.01038, allocations: 43.69 kB / 0.6254 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003435/0.01072, allocations: 99.3 kB / 0.6255 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.01219, allocations: 0.5342 MB / 0.626 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003112/0.0125, allocations: 239.8 kB / 0.6262 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.056e-05/0.01256, allocations: 9.797 kB / 0.6262 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002852/0.01285, allocations: 155.6 kB / 0.6264 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.01301, allocations: 83.77 kB / 0.6265 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.414e-05/0.01304, allocations: 8 kB / 0.6265 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000642/0.01368, allocations: 323.1 kB / 0.6268 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.114e-05/0.01377, allocations: 35.83 kB / 0.6268 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.078e-05/0.01386, allocations: 63.89 kB / 0.6269 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006255/0.01448, allocations: 382.8 kB / 0.6273 GB, free: 11.67 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.01449, allocations: 0 / 0.6273 GB, free: 11.67 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.563e-06/0.01449, allocations: 0 / 0.6273 GB, free: 11.67 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.01449, allocations: 0 / 0.6273 GB, free: 11.67 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.0008717/0.01537, allocations: 445.5 kB / 0.6277 GB, free: 11.2 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.01542, allocations: 13.41 kB / 0.6277 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/0.01559, allocations: 24.83 kB / 0.6277 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.01591, allocations: 157.5 kB / 0.6279 GB, free: 10.99 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.01593, allocations: 12.7 kB / 0.6279 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.01595, allocations: 12.38 kB / 0.6279 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005534/0.01651, allocations: 488.9 kB / 0.6284 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.01652, allocations: 192 / 0.6284 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.942e-05/0.01655, allocations: 12.12 kB / 0.6284 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/0.01657, allocations: 4 kB / 0.6284 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005137/0.01709, allocations: 427.5 kB / 0.6288 GB, free: 9.98 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.01822, allocations: 0.7739 MB / 0.6295 GB, free: 9.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003527/0.01858, allocations: 159.4 kB / 0.6297 GB, free: 8.996 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.01868, allocations: 52.88 kB / 0.6297 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007464/0.01943, allocations: 463.8 kB / 0.6302 GB, free: 8.469 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.01947, allocations: 34.56 kB / 0.6302 GB, free: 8.426 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.01947, allocations: 4 kB / 0.6302 GB, free: 8.422 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0003519/0.01982, allocations: 141.5 kB / 0.6303 GB, free: 8.277 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.01986, allocations: 51.41 kB / 0.6304 GB, free: 8.215 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.02001, allocations: 165.6 kB / 0.6306 GB, free: 8.047 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.02004, allocations: 29.7 kB / 0.6306 GB, free: 8.012 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.02015, allocations: 144.1 kB / 0.6307 GB, free: 7.863 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/0.02019, allocations: 47.59 kB / 0.6308 GB, free: 7.816 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-05/0.02027, allocations: 57.64 kB / 0.6308 GB, free: 7.754 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.02041, allocations: 326.8 kB / 0.6311 GB, free: 7.426 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.888e-05/0.02048, allocations: 39.97 kB / 0.6312 GB, free: 7.387 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.02063, allocations: 147.4 kB / 0.6313 GB, free: 7.195 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/0.02088, allocations: 200.6 kB / 0.6315 GB, free: 6.953 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.02088, allocations: 4 kB / 0.6315 GB, free: 6.949 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003388/0.02122, allocations: 209.6 kB / 0.6317 GB, free: 6.738 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.02124, allocations: 8 kB / 0.6317 GB, free: 6.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.02125, allocations: 4 kB / 0.6317 GB, free: 6.727 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.02127, allocations: 4 kB / 0.6317 GB, free: 6.723 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.02146, allocations: 59.91 kB / 0.6318 GB, free: 6.664 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.02147, allocations: 7.938 kB / 0.6318 GB, free: 6.656 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.02158, allocations: 23.84 kB / 0.6318 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.02159, allocations: 12 kB / 0.6318 GB, free: 6.621 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.0001275/0.02172, allocations: 137.6 kB / 0.632 GB, free: 6.477 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/0.02177, allocations: 24 kB / 0.632 GB, free: 6.453 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003281/0.0221, allocations: 146.3 kB / 0.6321 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/0.02211, allocations: 0 / 0.6321 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.02211, allocations: 0 / 0.6321 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.02211, allocations: 4 kB / 0.6321 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.02233, allocations: 161.1 kB / 0.6323 GB, free: 6.113 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.02233, allocations: 0 / 0.6323 GB, free: 6.113 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.02244, allocations: 31.92 kB / 0.6323 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.02244, allocations: 3.938 kB / 0.6323 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.02246, allocations: 11.98 kB / 0.6323 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.02246, allocations: 0 / 0.6323 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.02246, allocations: 4 kB / 0.6323 GB, free: 6.062 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.02273, allocations: 221.8 kB / 0.6325 GB, free: 5.832 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.936e-05/0.0228, allocations: 35.86 kB / 0.6326 GB, free: 5.797 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.02282, allocations: 3.984 kB / 0.6326 GB, free: 5.793 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.02301, allocations: 12 kB / 0.6326 GB, free: 5.781 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.02304, allocations: 11.97 kB / 0.6326 GB, free: 5.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.02307, allocations: 12 kB / 0.6326 GB, free: 5.758 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.845e-05/0.02316, allocations: 111.3 kB / 0.6327 GB, free: 5.648 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.02316, allocations: 0 / 0.6327 GB, free: 5.648 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004025/0.02356, allocations: 79.83 kB / 0.6328 GB, free: 5.57 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.0003563/0.02392, allocations: 191 kB / 0.633 GB, free: 5.375 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002522/0.02417, allocations: 116.6 kB / 0.6331 GB, free: 5.262 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.02417, allocations: 4 kB / 0.6331 GB, free: 5.258 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.921e-05/0.02424, allocations: 43.92 kB / 0.6331 GB, free: 5.215 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.02463, allocations: 42.44 kB / 0.6332 GB, free: 5.176 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006876/0.02532, allocations: 298.2 kB / 0.6335 GB, free: 4.855 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.02543, allocations: 102.9 kB / 0.6335 GB, free: 4.734 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001369/0.02556, allocations: 45.39 kB / 0.6336 GB, free: 4.691 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.651e-05/0.02561, allocations: 28.44 kB / 0.6336 GB, free: 4.664 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.02561, allocations: 0 / 0.6336 GB, free: 4.664 MB / 0.545 GB Notification: Performance of Templates: time 0.007594/0.03321, allocations: 3.129 MB / 0.6367 GB, free: 1.613 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.120922554284334] Failed to read output from testmodel.py, exit status != 0: 0.04263437166810036 0.056231911 0.038755261 Calling exit ...