Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamProperties.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.001364/0.001364, allocations: 80.77 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.001761/0.001761, allocations: 163.6 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.516/1.516, allocations: 177.1 MB / 202.8 MB, free: 9.148 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.248/1.248, 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.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamProperties") translateModel(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.6185 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.597e-05/3.773e-05, allocations: 3.625 kB / 0.6185 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.6167/0.6167, allocations: 119.6 MB / 0.7354 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02649/0.6432, allocations: 20.24 MB / 0.7551 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002954/0.6435, allocations: 1.125 kB / 0.7551 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003485/0.6438, allocations: 44.12 kB / 0.7552 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004134/0.6442, allocations: 100.5 kB / 0.7553 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.02672/0.671, allocations: 7.022 MB / 0.7621 GB, free: 276 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005188/0.6715, allocations: 252.1 kB / 0.7624 GB, free: 144 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.617e-05/0.6715, allocations: 10.38 kB / 0.7624 GB, free: 144 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004427/0.672, allocations: 189.8 kB / 0.7625 GB, free: 40 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.6722, allocations: 77.5 kB / 0.7626 GB, free: 12 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.971e-05/0.6722, allocations: 8.062 kB / 0.7626 GB, free: 12 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02883/0.7011, allocations: 11.14 MB / 0.7735 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001985/0.7013, allocations: 33.31 kB / 0.7735 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002725/0.7015, allocations: 71.06 kB / 0.7736 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02627/0.7278, allocations: 8.364 MB / 0.7818 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.7278, allocations: 0 / 0.7818 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.765e-06/0.7278, allocations: 0 / 0.7818 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.7278, allocations: 0 / 0.7818 GB, free: 4.965 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.004852/0.7327, allocations: 1.167 MB / 0.7829 GB, free: 4.133 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.7327, allocations: 11.88 kB / 0.7829 GB, free: 4.133 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.7339, allocations: 84.53 kB / 0.783 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004106/0.7343, allocations: 171.8 kB / 0.7832 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.7343, allocations: 13.16 kB / 0.7832 GB, free: 3.914 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/0.7344, allocations: 18.94 kB / 0.7832 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.7357, allocations: 0.6675 MB / 0.7839 GB, free: 3.371 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.7358, allocations: 3.984 kB / 0.7839 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.7358, allocations: 10.72 kB / 0.7839 GB, free: 3.359 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.7358, allocations: 6.5 kB / 0.7839 GB, free: 3.355 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.737, allocations: 0.6024 MB / 0.7845 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.7382, allocations: 0.689 MB / 0.7851 GB, free: 2.457 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007871/0.7389, allocations: 235.7 kB / 0.7854 GB, free: 2.324 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.7391, allocations: 67.3 kB / 0.7854 GB, free: 2.289 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0864/0.8255, allocations: 23.35 MB / 0.8082 GB, free: 0.8789 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.245e-05/0.8255, allocations: 39.22 kB / 0.8083 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 2.474e-06/0.8255, allocations: 0 / 0.8083 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.002017/0.8276, allocations: 429.1 kB / 0.8087 GB, free: 416 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/0.8276, allocations: 51.41 kB / 0.8087 GB, free: 352 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.8278, allocations: 133.7 kB / 0.8088 GB, free: 208 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.068e-05/0.8279, allocations: 29.7 kB / 0.8089 GB, free: 172 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.828, allocations: 108.6 kB / 0.809 GB, free: 60 kB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.8281, allocations: 93.36 kB / 0.8091 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.8283, allocations: 77.67 kB / 0.8091 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.8285, allocations: 318.8 kB / 0.8094 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.8286, allocations: 87.88 kB / 0.8095 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/0.8289, allocations: 126.8 kB / 0.8096 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005007/0.8294, allocations: 223.8 kB / 0.8099 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.8294, allocations: 0 / 0.8099 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008431/0.8303, allocations: 301.9 kB / 0.8102 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.8303, allocations: 8 kB / 0.8102 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.8303, allocations: 0 / 0.8102 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.055e-05/0.8303, allocations: 4 kB / 0.8102 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003341/0.8307, allocations: 83.88 kB / 0.8102 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.8307, allocations: 160 / 0.8102 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.8308, allocations: 24.58 kB / 0.8103 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.693e-05/0.8309, allocations: 23.97 kB / 0.8103 GB, free: 14.66 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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): 30 * 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.0002095/0.8311, allocations: 134.7 kB / 0.8104 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/0.8313, allocations: 15.91 kB / 0.8104 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003184/0.8345, allocations: 2.489 MB / 0.8129 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.318e-05/0.8345, allocations: 7.984 kB / 0.8129 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.8345, allocations: 0 / 0.8129 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.8345, allocations: 3.938 kB / 0.8129 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004672/0.8392, allocations: 3.543 MB / 0.8163 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/0.8392, allocations: 0 / 0.8163 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002977/0.8395, allocations: 59.88 kB / 0.8164 GB, free: 8.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/0.8395, allocations: 0 / 0.8164 GB, free: 8.32 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.8396, allocations: 8 kB / 0.8164 GB, free: 8.312 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.111e-05/0.8396, allocations: 4 kB / 0.8164 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.8396, allocations: 0 / 0.8164 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.8406, allocations: 0.5589 MB / 0.8169 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.8407, allocations: 67.58 kB / 0.817 GB, free: 7.668 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/0.8408, allocations: 7.938 kB / 0.817 GB, free: 7.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.841, allocations: 15.98 kB / 0.817 GB, free: 7.645 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.8411, allocations: 19.97 kB / 0.8171 GB, free: 7.625 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.267e-05/0.8411, allocations: 19.97 kB / 0.8171 GB, free: 7.605 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.859e-05/0.8412, allocations: 99.14 kB / 0.8172 GB, free: 7.512 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.8412, allocations: 0 / 0.8172 GB, free: 7.512 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.008516/0.8497, allocations: 1.711 MB / 0.8188 GB, free: 5.797 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.01145/0.8612, allocations: 2.208 MB / 0.821 GB, free: 3.727 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008392/0.862, allocations: 321.7 kB / 0.8213 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.862, allocations: 4 kB / 0.8213 GB, free: 3.41 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003157/0.8623, allocations: 189.2 kB / 0.8215 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005771/0.8629, allocations: 52.28 kB / 0.8215 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.8641, allocations: 0.617 MB / 0.8221 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001734/0.8643, allocations: 152.7 kB / 0.8223 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005701/0.8649, allocations: 412.7 kB / 0.8227 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.865, allocations: 44.48 kB / 0.8227 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of SimCode: time 6.11e-07/0.865, allocations: 0 / 0.8227 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of Templates: time 0.08567/0.9507, allocations: 59.46 MB / 0.8808 GB, free: 6.477 MB / 0.7169 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamProperties.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.259157687425613] Failed to read output from testmodel.py, exit status != 0: 0.9614178016781807 0.974942745 0.24396985100000002 Calling exit ...