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.0009833/0.0009833, allocations: 76.94 kB / 19.94 MB, free: 4.543 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.001037/0.001037, allocations: 176.9 kB / 23.36 MB, free: 1.125 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 1.03/1.03, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.8116/0.8116, allocations: 154.9 MB / 415.1 MB, free: 252 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.432e-06/1.432e-06, allocations: 0 / 480.3 MB, free: 6.586 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.298e-05/1.441e-05, allocations: 2.312 kB / 480.3 MB, free: 6.582 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.001551/0.001565, allocations: 1.352 MB / 481.7 MB, free: 5.258 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.1131/0.1146, allocations: 132.8 MB / 0.6001 GB, free: 312 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.597e-05/0.1147, allocations: 4 kB / 0.6001 GB, free: 308 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.623e-05/0.1147, allocations: 3.938 kB / 0.6001 GB, free: 304 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.513e-05/0.1148, allocations: 7.922 kB / 0.6002 GB, free: 296 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.1158, allocations: 426.1 kB / 0.6006 GB, free: 15.87 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 6.99e-05/0.1159, allocations: 39.89 kB / 0.6006 GB, free: 15.83 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.037e-05/0.1159, allocations: 0 / 0.6006 GB, free: 15.83 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.785e-05/0.1159, allocations: 47.83 kB / 0.6006 GB, free: 15.79 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.252e-05/0.116, allocations: 7.984 kB / 0.6006 GB, free: 15.78 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.116, allocations: 4 kB / 0.6007 GB, free: 15.77 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.117, allocations: 0.8387 MB / 0.6015 GB, free: 14.93 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.1171, allocations: 3.984 kB / 0.6015 GB, free: 14.93 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 2.296e-05/0.1171, allocations: 23.91 kB / 0.6015 GB, free: 14.91 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004954/0.1176, allocations: 0.5574 MB / 0.602 GB, free: 14.35 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1176, allocations: 0 / 0.602 GB, free: 14.35 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1176, allocations: 0 / 0.602 GB, free: 14.35 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.1176, allocations: 0 / 0.602 GB, free: 14.35 MB / 0.573 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.0003243/0.1179, allocations: 279.5 kB / 0.6023 GB, free: 14.05 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.1179, allocations: 8.031 kB / 0.6023 GB, free: 14.05 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.1181, allocations: 32.8 kB / 0.6023 GB, free: 14.02 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.486e-05/0.1182, allocations: 113.7 kB / 0.6025 GB, free: 13.88 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.1182, allocations: 384 / 0.6025 GB, free: 13.88 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.1182, allocations: 12.67 kB / 0.6025 GB, free: 13.87 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.1183, allocations: 123.3 kB / 0.6026 GB, free: 13.72 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1183, allocations: 3.938 kB / 0.6026 GB, free: 13.72 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.1183, allocations: 4 kB / 0.6026 GB, free: 13.71 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1183, allocations: 0 / 0.6026 GB, free: 13.71 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.015e-05/0.1183, allocations: 11.98 kB / 0.6026 GB, free: 13.7 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.945e-05/0.1184, allocations: 73.03 kB / 0.6027 GB, free: 13.62 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.051e-05/0.1185, allocations: 42.5 kB / 0.6027 GB, free: 13.57 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.666e-05/0.1185, allocations: 20.84 kB / 0.6027 GB, free: 13.54 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004512/0.123, allocations: 2.443 MB / 0.6051 GB, free: 11.1 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.123, allocations: 38.56 kB / 0.6052 GB, free: 11.05 MB / 0.573 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.123, allocations: 4 kB / 0.6052 GB, free: 11.05 MB / 0.573 GB Notification: Performance of matching and sorting (n=11): time 0.01489/0.1379, allocations: 6.335 MB / 0.6114 GB, free: 4.586 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/0.138, allocations: 51.41 kB / 0.6114 GB, free: 4.523 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.546e-05/0.138, allocations: 98.72 kB / 0.6115 GB, free: 4.414 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.138, allocations: 25.7 kB / 0.6115 GB, free: 4.383 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.164e-05/0.138, allocations: 84.12 kB / 0.6116 GB, free: 4.297 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.1381, allocations: 43.77 kB / 0.6116 GB, free: 4.254 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.1381, allocations: 37.69 kB / 0.6117 GB, free: 4.211 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.044e-05/0.1382, allocations: 314.8 kB / 0.612 GB, free: 3.895 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/0.1382, allocations: 8 kB / 0.612 GB, free: 3.887 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.455e-05/0.1382, allocations: 22.05 kB / 0.612 GB, free: 3.867 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.131e-05/0.1383, allocations: 40.83 kB / 0.612 GB, free: 3.824 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1383, allocations: 0 / 0.612 GB, free: 3.824 MB / 0.573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001098/0.1384, allocations: 76.86 kB / 0.6121 GB, free: 3.746 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1384, allocations: 4 kB / 0.6121 GB, free: 3.742 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1384, allocations: 3.938 kB / 0.6121 GB, free: 3.738 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1384, allocations: 0 / 0.6121 GB, free: 3.738 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.645e-05/0.1385, allocations: 39.91 kB / 0.6122 GB, free: 3.699 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.1385, allocations: 4 kB / 0.6122 GB, free: 3.695 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.349e-05/0.1385, allocations: 3.938 kB / 0.6122 GB, free: 3.691 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1385, allocations: 4 kB / 0.6122 GB, free: 3.688 MB / 0.573 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 5.381e-05/0.1386, allocations: 113.8 kB / 0.6123 GB, free: 3.566 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.1386, allocations: 19.88 kB / 0.6123 GB, free: 3.547 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/0.1387, allocations: 103.3 kB / 0.6124 GB, free: 3.434 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1387, allocations: 0 / 0.6124 GB, free: 3.434 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.1387, allocations: 4 kB / 0.6124 GB, free: 3.43 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1387, allocations: 4 kB / 0.6124 GB, free: 3.426 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.931e-05/0.1388, allocations: 73.89 kB / 0.6125 GB, free: 3.336 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1388, allocations: 4 kB / 0.6125 GB, free: 3.332 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.761e-05/0.1389, allocations: 23.98 kB / 0.6125 GB, free: 3.309 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.1389, allocations: 0 / 0.6125 GB, free: 3.309 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.1389, allocations: 7.984 kB / 0.6125 GB, free: 3.301 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1389, allocations: 0 / 0.6125 GB, free: 3.301 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1389, allocations: 3.938 kB / 0.6125 GB, free: 3.297 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.139, allocations: 124.9 kB / 0.6126 GB, free: 3.156 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.118e-05/0.1391, allocations: 15.94 kB / 0.6127 GB, free: 3.141 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.1391, allocations: 0 / 0.6127 GB, free: 3.141 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.147e-05/0.1391, allocations: 4 kB / 0.6127 GB, free: 3.137 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.1392, allocations: 15.92 kB / 0.6127 GB, free: 3.121 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.1392, allocations: 7.984 kB / 0.6127 GB, free: 3.113 MB / 0.573 GB Notification: Performance of sorting global known variables: time 6.151e-06/0.1392, allocations: 4.859 kB / 0.6127 GB, free: 3.105 MB / 0.573 GB Notification: Performance of sort global known variables: time 5e-08/0.1392, allocations: 0 / 0.6127 GB, free: 3.105 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0009628/0.1401, allocations: 0.5621 MB / 0.6132 GB, free: 2.543 MB / 0.573 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.001869/0.142, allocations: 375.9 kB / 0.6136 GB, free: 2.168 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 9.466e-05/0.1421, allocations: 60.7 kB / 0.6136 GB, free: 2.105 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1421, allocations: 0 / 0.6136 GB, free: 2.105 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 3.597e-05/0.1421, allocations: 38.95 kB / 0.6137 GB, free: 2.066 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000117/0.1423, allocations: 15.98 kB / 0.6137 GB, free: 2.051 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004527/0.1427, allocations: 243.2 kB / 0.6139 GB, free: 1.793 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.277e-05/0.1427, allocations: 67.28 kB / 0.614 GB, free: 1.707 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 5.289e-05/0.1428, allocations: 20.61 kB / 0.614 GB, free: 1.688 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.521e-05/0.1429, allocations: 79.34 kB / 0.6141 GB, free: 1.609 MB / 0.573 GB Notification: Performance of SimCode: time 6.62e-07/0.1429, allocations: 0 / 0.6141 GB, free: 1.609 MB / 0.573 GB Notification: Performance of Templates: time 0.02759/0.1705, allocations: 25.84 MB / 0.6393 GB, free: 7.84 MB / 0.6042 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.282075968105346]