Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009046/0.0009046, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001451/0.001451, allocations: 165 kB / 23.02 MB, free: 1.551 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.045/1.045, allocations: 177.1 MB / 203.4 MB, free: 5.172 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-545:108: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-545:116: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.8254/0.8254, allocations: 154.6 MB / 414.5 MB, free: 0.5938 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.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck") translateModel(IDEAS.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0.7656 kB / 0.5203 GB, free: 2.203 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.578e-05/4.841e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.199 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002102/0.00215, allocations: 1.291 MB / 0.5215 GB, free: 0.918 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1256/0.1278, allocations: 133.4 MB / 0.6518 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.31e-05/0.1278, allocations: 4 kB / 0.6518 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.717e-05/0.1278, allocations: 0 / 0.6518 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.608e-05/0.1279, allocations: 11.86 kB / 0.6518 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.129, allocations: 474.1 kB / 0.6523 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.704e-05/0.1291, allocations: 35.86 kB / 0.6523 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.612e-05/0.1291, allocations: 4 kB / 0.6523 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.592e-05/0.1292, allocations: 31.95 kB / 0.6523 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.215e-05/0.1293, allocations: 19.97 kB / 0.6523 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.1293, allocations: 0 / 0.6523 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009869/0.1303, allocations: 0.7996 MB / 0.6531 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.1303, allocations: 15.92 kB / 0.6531 GB, free: 9.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.1303, allocations: 11.98 kB / 0.6531 GB, free: 9.828 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005487/0.1309, allocations: 0.5574 MB / 0.6537 GB, free: 9.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.1309, allocations: 0 / 0.6537 GB, free: 9.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1309, allocations: 4 kB / 0.6537 GB, free: 9.266 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.1309, allocations: 0 / 0.6537 GB, free: 9.266 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.0004942/0.1314, allocations: 396 kB / 0.6541 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1314, allocations: 12.03 kB / 0.6541 GB, free: 8.832 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.1316, allocations: 25.09 kB / 0.6541 GB, free: 8.809 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.056e-05/0.1316, allocations: 116.6 kB / 0.6542 GB, free: 8.668 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.1317, allocations: 4.375 kB / 0.6542 GB, free: 8.664 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.1317, allocations: 8.375 kB / 0.6542 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.1318, allocations: 127.3 kB / 0.6544 GB, free: 8.508 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.1318, allocations: 7.938 kB / 0.6544 GB, free: 8.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.1319, allocations: 4 kB / 0.6544 GB, free: 8.496 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.1319, allocations: 4 kB / 0.6544 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.456e-05/0.1319, allocations: 15.97 kB / 0.6544 GB, free: 8.477 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001374/0.132, allocations: 120.6 kB / 0.6545 GB, free: 8.324 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.794e-05/0.1321, allocations: 55.03 kB / 0.6546 GB, free: 8.258 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.408e-05/0.1321, allocations: 23.62 kB / 0.6546 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005545/0.1377, allocations: 2.887 MB / 0.6574 GB, free: 5.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.1377, allocations: 37.39 kB / 0.6574 GB, free: 5.293 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.1377, allocations: 0 / 0.6574 GB, free: 5.293 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.01896/0.1567, allocations: 8.134 MB / 0.6654 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.1567, allocations: 51.41 kB / 0.6654 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.947e-05/0.1568, allocations: 157.9 kB / 0.6656 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.1568, allocations: 25.7 kB / 0.6656 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.522e-05/0.1569, allocations: 126.9 kB / 0.6657 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/0.1569, allocations: 39.69 kB / 0.6658 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.422e-05/0.157, allocations: 39.36 kB / 0.6658 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1571, allocations: 496.1 kB / 0.6663 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.689e-05/0.1571, allocations: 15.98 kB / 0.6663 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.656e-05/0.1572, allocations: 19.98 kB / 0.6663 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.1573, allocations: 51.81 kB / 0.6663 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1573, allocations: 0 / 0.6663 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002176/0.1575, allocations: 115.7 kB / 0.6665 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.1575, allocations: 8 kB / 0.6665 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1575, allocations: 0 / 0.6665 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.1575, allocations: 3.938 kB / 0.6665 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.1576, allocations: 23.98 kB / 0.6665 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.1577, allocations: 0 / 0.6665 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.339e-05/0.1577, allocations: 4 kB / 0.6665 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1577, allocations: 4 kB / 0.6665 GB, free: 11.8 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 8.23e-05/0.1578, allocations: 168.5 kB / 0.6667 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.448e-05/0.1578, allocations: 19.83 kB / 0.6667 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.1581, allocations: 113.6 kB / 0.6668 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.1581, allocations: 3.984 kB / 0.6668 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1581, allocations: 0 / 0.6668 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1581, allocations: 0 / 0.6668 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.1582, allocations: 132.6 kB / 0.6669 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1582, allocations: 4 kB / 0.6669 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.1583, allocations: 23.98 kB / 0.6669 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1583, allocations: 0 / 0.6669 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.1583, allocations: 11.88 kB / 0.667 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1583, allocations: 4 kB / 0.667 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1583, allocations: 3.938 kB / 0.667 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.1586, allocations: 144.3 kB / 0.6671 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.627e-05/0.1586, allocations: 11.98 kB / 0.6671 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.1586, allocations: 7.938 kB / 0.6671 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.057e-05/0.1587, allocations: 7.984 kB / 0.6671 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-05/0.1587, allocations: 15.98 kB / 0.6671 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.1587, allocations: 4 kB / 0.6671 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.467e-05/0.1588, allocations: 119.2 kB / 0.6673 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1588, allocations: 0 / 0.6673 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001657/0.1604, allocations: 0.5699 MB / 0.6678 GB, free: 10.37 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.002466/0.1629, allocations: 394.6 kB / 0.6682 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001665/0.1631, allocations: 63.66 kB / 0.6683 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1631, allocations: 0 / 0.6683 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.678e-05/0.1631, allocations: 39.61 kB / 0.6683 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.1634, allocations: 21.41 kB / 0.6683 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007288/0.1641, allocations: 289.2 kB / 0.6686 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.394e-05/0.1641, allocations: 63.34 kB / 0.6687 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.62e-05/0.1642, allocations: 28.59 kB / 0.6687 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.1642, allocations: 16.5 kB / 0.6687 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of SimCode: time 1.002e-06/0.1642, allocations: 4 kB / 0.6687 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of Templates: time 0.2893/0.4535, allocations: 26.08 MB / 0.6942 GB, free: 61.07 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.806040904019028]