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.0008622/0.0008622, 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.0009349/0.0009349, 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.034/1.034, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.8179/0.8179, allocations: 154.8 MB / 414.7 MB, free: 0.4961 MB / 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 2.655e-06/2.655e-06, allocations: 0 / 0.5205 GB, free: 2 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.882e-05, allocations: 4.969 kB / 0.5205 GB, free: 1.996 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002567/0.002596, allocations: 1.3 MB / 0.5218 GB, free: 0.707 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1407/0.1433, allocations: 133.4 MB / 0.652 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.288e-05/0.1433, allocations: 0 / 0.652 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.061e-05/0.1434, allocations: 3.984 kB / 0.652 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.973e-05/0.1434, allocations: 7.938 kB / 0.652 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.1446, allocations: 466.1 kB / 0.6525 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.436e-05/0.1447, allocations: 43.84 kB / 0.6525 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.015e-05/0.1447, allocations: 7.984 kB / 0.6525 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.942e-05/0.1448, allocations: 27.91 kB / 0.6526 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.387e-05/0.1449, allocations: 11.98 kB / 0.6526 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.1449, allocations: 4 kB / 0.6526 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.146, allocations: 0.7996 MB / 0.6534 GB, free: 9.664 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.451e-05/0.146, allocations: 11.98 kB / 0.6534 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.312e-05/0.146, allocations: 19.92 kB / 0.6534 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005915/0.1466, allocations: 0.5613 MB / 0.6539 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1466, allocations: 0 / 0.6539 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1466, allocations: 0 / 0.6539 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.1466, allocations: 0 / 0.6539 GB, free: 9.07 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.0004264/0.147, allocations: 396.1 kB / 0.6543 GB, free: 8.648 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.1471, allocations: 8.031 kB / 0.6543 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.1472, allocations: 33.03 kB / 0.6544 GB, free: 8.609 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.168e-05/0.1473, allocations: 108.6 kB / 0.6545 GB, free: 8.477 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.1473, allocations: 4.375 kB / 0.6545 GB, free: 8.473 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.1473, allocations: 8.375 kB / 0.6545 GB, free: 8.465 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.1475, allocations: 135.3 kB / 0.6546 GB, free: 8.309 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1475, allocations: 7.875 kB / 0.6546 GB, free: 8.301 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1475, allocations: 0 / 0.6546 GB, free: 8.301 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.1475, allocations: 0 / 0.6546 GB, free: 8.301 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.297e-05/0.1476, allocations: 15.98 kB / 0.6546 GB, free: 8.285 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000145/0.1477, allocations: 124.6 kB / 0.6547 GB, free: 8.129 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.195e-05/0.1478, allocations: 51.05 kB / 0.6548 GB, free: 8.066 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.439e-05/0.1478, allocations: 19.69 kB / 0.6548 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005439/0.1533, allocations: 2.895 MB / 0.6576 GB, free: 5.145 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.1533, allocations: 33.39 kB / 0.6577 GB, free: 5.102 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.724e-06/0.1533, allocations: 0 / 0.6577 GB, free: 5.102 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.01893/0.1722, allocations: 8.141 MB / 0.6656 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.1723, allocations: 55.41 kB / 0.6657 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.577e-05/0.1723, allocations: 157.9 kB / 0.6658 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.1724, allocations: 29.7 kB / 0.6658 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.465e-05/0.1724, allocations: 130.9 kB / 0.666 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.375e-05/0.1724, allocations: 35.69 kB / 0.666 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.814e-05/0.1725, allocations: 35.36 kB / 0.666 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1726, allocations: 0.4884 MB / 0.6665 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.294e-05/0.1727, allocations: 11.98 kB / 0.6665 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.371e-05/0.1727, allocations: 19.98 kB / 0.6665 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.212e-05/0.1728, allocations: 47.69 kB / 0.6666 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1728, allocations: 0 / 0.6666 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001626/0.173, allocations: 117.6 kB / 0.6667 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.173, allocations: 4 kB / 0.6667 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.173, allocations: 3.938 kB / 0.6667 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.173, allocations: 0 / 0.6667 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.894e-05/0.1731, allocations: 27.98 kB / 0.6667 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.1731, allocations: 0 / 0.6667 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.75e-05/0.1731, allocations: 4 kB / 0.6667 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.1731, allocations: 0 / 0.6667 GB, free: 11.6 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 7.88e-05/0.1732, allocations: 160.6 kB / 0.6669 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.1733, allocations: 27.77 kB / 0.6669 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001926/0.1734, allocations: 116.6 kB / 0.667 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1734, allocations: 0 / 0.667 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.1735, allocations: 7.984 kB / 0.667 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1735, allocations: 0 / 0.667 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.1736, allocations: 124.6 kB / 0.6672 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1736, allocations: 0 / 0.6672 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.531e-05/0.1736, allocations: 23.98 kB / 0.6672 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1736, allocations: 4 kB / 0.6672 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.1737, allocations: 11.94 kB / 0.6672 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1737, allocations: 0 / 0.6672 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1737, allocations: 0 / 0.6672 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.1739, allocations: 156.2 kB / 0.6673 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.1739, allocations: 15.94 kB / 0.6674 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.174, allocations: 7.938 kB / 0.6674 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.708e-05/0.174, allocations: 11.98 kB / 0.6674 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.1741, allocations: 7.984 kB / 0.6674 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.1741, allocations: 4 kB / 0.6674 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.592e-05/0.1741, allocations: 127.2 kB / 0.6675 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.1741, allocations: 4 kB / 0.6675 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002061/0.1762, allocations: 0.5621 MB / 0.6681 GB, free: 10.17 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.002323/0.1785, allocations: 393.8 kB / 0.6684 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000171/0.1787, allocations: 67.53 kB / 0.6685 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1787, allocations: 0 / 0.6685 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.069e-05/0.1787, allocations: 39.61 kB / 0.6685 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.1789, allocations: 31.98 kB / 0.6686 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007117/0.1796, allocations: 281.2 kB / 0.6688 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.876e-05/0.1796, allocations: 55.36 kB / 0.6689 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.365e-05/0.1797, allocations: 28.59 kB / 0.6689 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/0.1797, allocations: 20.5 kB / 0.6689 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of SimCode: time 1.343e-06/0.1797, allocations: 0 / 0.6689 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of Templates: time 0.2871/0.4668, allocations: 26.08 MB / 0.6944 GB, free: 61.27 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: 6.641552263870835]