Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.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.001059/0.001059, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.00118/0.00118, allocations: 169 kB / 24.06 MB, free: 452 kB / 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 1.057/1.057, allocations: 177.1 MB / 204.5 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] 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-535:34: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-535:42: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 0.7791/0.7791, allocations: 154.9 MB / 415.9 MB, free: 272 kB / 378.7 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 179] 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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck") translateModel(IDEAS.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0.9844 kB / 0.5218 GB, free: 1.605 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.125e-05, allocations: 2.312 kB / 0.5218 GB, free: 1.602 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.001641/0.001662, allocations: 1.299 MB / 0.5231 GB, free: 320 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1097/0.1113, allocations: 130.9 MB / 0.6509 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.121e-05/0.1114, allocations: 0 / 0.6509 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.222e-05/0.1114, allocations: 3.938 kB / 0.6509 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.703e-05/0.1114, allocations: 3.938 kB / 0.6509 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009075/0.1123, allocations: 482.1 kB / 0.6514 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.631e-05/0.1124, allocations: 39.84 kB / 0.6514 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.305e-05/0.1124, allocations: 4 kB / 0.6514 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.836e-05/0.1125, allocations: 35.89 kB / 0.6514 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.375e-05/0.1125, allocations: 15.97 kB / 0.6515 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.1126, allocations: 0 / 0.6515 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008957/0.1135, allocations: 0.7996 MB / 0.6522 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.1135, allocations: 11.94 kB / 0.6523 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.025e-05/0.1135, allocations: 15.97 kB / 0.6523 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004773/0.114, allocations: 0.5536 MB / 0.6528 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.114, allocations: 0 / 0.6528 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.034e-06/0.114, allocations: 7.922 kB / 0.6528 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.114, allocations: 4 kB / 0.6528 GB, free: 11.17 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003486/0.1143, allocations: 392.1 kB / 0.6532 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.1144, allocations: 15.97 kB / 0.6532 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.1145, allocations: 29.11 kB / 0.6532 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.004e-05/0.1145, allocations: 104.6 kB / 0.6533 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.1146, allocations: 384 / 0.6533 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.1146, allocations: 12.38 kB / 0.6533 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.1147, allocations: 123.3 kB / 0.6535 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1147, allocations: 3.938 kB / 0.6535 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.1147, allocations: 4 kB / 0.6535 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1147, allocations: 4 kB / 0.6535 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.026e-05/0.1147, allocations: 15.97 kB / 0.6535 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001035/0.1148, allocations: 109.2 kB / 0.6536 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.288e-05/0.1149, allocations: 47.05 kB / 0.6536 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.644e-05/0.1149, allocations: 19.67 kB / 0.6537 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005004/0.1199, allocations: 2.462 MB / 0.6561 GB, free: 7.719 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.1199, allocations: 33.62 kB / 0.6561 GB, free: 7.676 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.1199, allocations: 0 / 0.6561 GB, free: 7.676 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.01577/0.1357, allocations: 6.34 MB / 0.6623 GB, free: 1.203 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.1357, allocations: 51.41 kB / 0.6623 GB, free: 1.141 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.587e-05/0.1358, allocations: 157.9 kB / 0.6625 GB, free: 0.9688 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.1358, allocations: 33.83 kB / 0.6625 GB, free: 0.9297 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.045e-05/0.1358, allocations: 126.9 kB / 0.6626 GB, free: 0.8008 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.1359, allocations: 43.62 kB / 0.6627 GB, free: 0.7578 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-05/0.1359, allocations: 39.36 kB / 0.6627 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.136, allocations: 0.4884 MB / 0.6632 GB, free: 216 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.603e-05/0.136, allocations: 8 kB / 0.6632 GB, free: 208 kB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.282e-05/0.1361, allocations: 11.98 kB / 0.6632 GB, free: 196 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.954e-05/0.1361, allocations: 51.59 kB / 0.6633 GB, free: 140 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1361, allocations: 3.938 kB / 0.6633 GB, free: 136 kB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001213/0.1362, allocations: 99.95 kB / 0.6634 GB, free: 32 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.1363, allocations: 7.938 kB / 0.6634 GB, free: 24 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1363, allocations: 4 kB / 0.6634 GB, free: 20 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.1363, allocations: 0 / 0.6634 GB, free: 20 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.559e-05/0.1363, allocations: 27.97 kB / 0.6634 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-06/0.1363, allocations: 0 / 0.6634 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.553e-05/0.1364, allocations: 8 kB / 0.6634 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.1364, allocations: 0 / 0.6634 GB, free: 15.98 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (14): * Single equations (assignments): 14 * 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 6.638e-05/0.1364, allocations: 164.5 kB / 0.6636 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.1365, allocations: 15.89 kB / 0.6636 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/0.1366, allocations: 116.1 kB / 0.6637 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1366, allocations: 4 kB / 0.6637 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.1366, allocations: 0 / 0.6637 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1366, allocations: 0 / 0.6637 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.145e-05/0.1367, allocations: 109.2 kB / 0.6638 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1367, allocations: 3.984 kB / 0.6638 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.559e-05/0.1368, allocations: 23.94 kB / 0.6638 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1368, allocations: 0 / 0.6638 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.1368, allocations: 11.98 kB / 0.6638 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1368, allocations: 4 kB / 0.6638 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1368, allocations: 4.016 kB / 0.6638 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.137, allocations: 140.2 kB / 0.664 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.056e-05/0.137, allocations: 11.97 kB / 0.664 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.137, allocations: 7.984 kB / 0.664 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.06e-05/0.1371, allocations: 4 kB / 0.664 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.584e-05/0.1371, allocations: 11.92 kB / 0.664 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/0.1371, allocations: 12 kB / 0.664 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.811e-05/0.1371, allocations: 123.2 kB / 0.6641 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.1371, allocations: 0 / 0.6641 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001106/0.1382, allocations: 0.5621 MB / 0.6647 GB, free: 14.61 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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 (11): * Single equations (assignments): 11 * 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.001947/0.1402, allocations: 386.8 kB / 0.6651 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.1403, allocations: 59.59 kB / 0.6651 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1403, allocations: 0 / 0.6651 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.298e-05/0.1403, allocations: 27.67 kB / 0.6651 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.1405, allocations: 31.97 kB / 0.6652 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00051/0.141, allocations: 289.2 kB / 0.6655 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.444e-05/0.141, allocations: 63.22 kB / 0.6655 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.603e-05/0.1411, allocations: 24.59 kB / 0.6655 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.778e-05/0.1411, allocations: 102.1 kB / 0.6656 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of SimCode: time 9.72e-07/0.1411, allocations: 0 / 0.6656 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of Templates: time 0.2728/0.414, allocations: 27.02 MB / 0.692 GB, free: 61.65 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.410389586351812]