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.0008308/0.0008308, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009062/0.001737, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000715/0.000715, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009045/0.001619, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9485/0.9485, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08899/1.038, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7477/0.7477, allocations: 155.3 MB / 399.5 MB, free: 15.82 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2852/1.033, allocations: 49.14 MB / 448.6 MB, free: 5.918 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.533e-06/1.533e-06, allocations: 0 / 449.9 MB, free: 4.645 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/2.419e-05, allocations: 4.141 kB / 449.9 MB, free: 4.641 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002647/0.002671, allocations: 1.351 MB / 451.3 MB, free: 3.309 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1254/0.1281, allocations: 133.3 MB / 0.5708 GB, free: 14 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.627e-05/0.1281, allocations: 0 / 0.5708 GB, free: 14 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.024e-05/0.1281, allocations: 0 / 0.5708 GB, free: 14 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 2.783e-05/0.1281, allocations: 7.875 kB / 0.5708 GB, free: 13.99 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000998/0.1291, allocations: 430.1 kB / 0.5713 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.931e-05/0.1292, allocations: 39.84 kB / 0.5713 GB, free: 13.53 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 2.994e-05/0.1292, allocations: 4 kB / 0.5713 GB, free: 13.53 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.036e-05/0.1293, allocations: 31.95 kB / 0.5713 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.379e-05/0.1294, allocations: 15.98 kB / 0.5713 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.1294, allocations: 0 / 0.5713 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.1307, allocations: 0.8426 MB / 0.5722 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.996e-05/0.1307, allocations: 7.938 kB / 0.5722 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.1307, allocations: 12 kB / 0.5722 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005695/0.1313, allocations: 419.2 kB / 0.5726 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.188e-05/0.1313, allocations: 0 / 0.5726 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1313, allocations: 0 / 0.5726 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.1313, allocations: 0 / 0.5726 GB, free: 12.21 MB / 0.5573 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.0005052/0.1318, allocations: 296.4 kB / 0.5729 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1319, allocations: 8.031 kB / 0.5729 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002472/0.1321, allocations: 112 kB / 0.573 GB, free: 11.76 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.888e-05/0.1322, allocations: 113.7 kB / 0.5731 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.1322, allocations: 384 / 0.5731 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.1323, allocations: 16.33 kB / 0.5731 GB, free: 11.61 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.1324, allocations: 123.3 kB / 0.5732 GB, free: 11.46 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1324, allocations: 3.938 kB / 0.5732 GB, free: 11.46 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.1324, allocations: 0 / 0.5732 GB, free: 11.46 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1324, allocations: 0 / 0.5732 GB, free: 11.46 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.362e-05/0.1325, allocations: 11.98 kB / 0.5732 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.917e-05/0.1326, allocations: 65.05 kB / 0.5733 GB, free: 11.37 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.834e-05/0.1326, allocations: 58.56 kB / 0.5734 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.001e-05/0.1327, allocations: 12.84 kB / 0.5734 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004959/0.1376, allocations: 2.443 MB / 0.5757 GB, free: 8.844 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.1377, allocations: 38.5 kB / 0.5758 GB, free: 8.797 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.1377, allocations: 4 kB / 0.5758 GB, free: 8.793 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.01457/0.1522, allocations: 6.407 MB / 0.582 GB, free: 2.258 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.1522, allocations: 55.41 kB / 0.5821 GB, free: 2.191 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.355e-05/0.1523, allocations: 98.7 kB / 0.5822 GB, free: 2.082 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.1523, allocations: 29.7 kB / 0.5822 GB, free: 2.047 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.613e-05/0.1523, allocations: 84.27 kB / 0.5823 GB, free: 1.961 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.1524, allocations: 39.64 kB / 0.5823 GB, free: 1.922 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.1524, allocations: 33.69 kB / 0.5824 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.91e-05/0.1525, allocations: 322.8 kB / 0.5827 GB, free: 1.559 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.662e-05/0.1525, allocations: 11.94 kB / 0.5827 GB, free: 1.547 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.041e-05/0.1525, allocations: 11.88 kB / 0.5827 GB, free: 1.539 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.708e-05/0.1526, allocations: 52.25 kB / 0.5828 GB, free: 1.488 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1526, allocations: 0 / 0.5828 GB, free: 1.488 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000136/0.1527, allocations: 69.61 kB / 0.5828 GB, free: 1.414 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1528, allocations: 8 kB / 0.5828 GB, free: 1.406 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1528, allocations: 3.938 kB / 0.5828 GB, free: 1.402 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.1528, allocations: 4 kB / 0.5828 GB, free: 1.398 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.541e-05/0.1529, allocations: 35.92 kB / 0.5829 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.1529, allocations: 0 / 0.5829 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.801e-05/0.1529, allocations: 4 kB / 0.5829 GB, free: 1.359 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.1529, allocations: 4 kB / 0.5829 GB, free: 1.355 MB / 0.5573 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.627e-05/0.153, allocations: 113.8 kB / 0.583 GB, free: 1.234 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.153, allocations: 15.92 kB / 0.583 GB, free: 1.219 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001674/0.1532, allocations: 97.45 kB / 0.5831 GB, free: 1.117 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.1532, allocations: 4 kB / 0.5831 GB, free: 1.113 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.1532, allocations: 3.938 kB / 0.5831 GB, free: 1.109 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1532, allocations: 3.984 kB / 0.5831 GB, free: 1.105 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.747e-05/0.1533, allocations: 77.89 kB / 0.5832 GB, free: 1.012 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1533, allocations: 3.938 kB / 0.5832 GB, free: 1.008 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.172e-05/0.1534, allocations: 27.98 kB / 0.5832 GB, free: 0.9805 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/0.1534, allocations: 7.984 kB / 0.5832 GB, free: 0.9727 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1534, allocations: 4 kB / 0.5832 GB, free: 0.9688 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.1534, allocations: 4 kB / 0.5832 GB, free: 0.9648 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1534, allocations: 3.938 kB / 0.5832 GB, free: 0.9609 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1534, allocations: 0 / 0.5832 GB, free: 0.9609 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.1536, allocations: 124.9 kB / 0.5833 GB, free: 0.8203 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.1536, allocations: 7.984 kB / 0.5834 GB, free: 0.8125 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.984e-05/0.1537, allocations: 8 kB / 0.5834 GB, free: 0.8047 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.748e-05/0.1537, allocations: 11.92 kB / 0.5834 GB, free: 0.793 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.1537, allocations: 0 / 0.5834 GB, free: 0.793 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.187e-05/0.1537, allocations: 8.859 kB / 0.5834 GB, free: 0.7812 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.1537, allocations: 4.094 kB / 0.5834 GB, free: 0.7773 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001649/0.1553, allocations: 0.566 MB / 0.5839 GB, free: 216 kB / 0.5573 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.002064/0.1574, allocations: 391.7 kB / 0.5843 GB, free: 15.82 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.000109/0.1575, allocations: 44.84 kB / 0.5844 GB, free: 15.77 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.1575, allocations: 0 / 0.5844 GB, free: 15.77 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 3.79e-05/0.1576, allocations: 44.11 kB / 0.5844 GB, free: 15.73 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.1577, allocations: 35.95 kB / 0.5844 GB, free: 15.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009056/0.1586, allocations: 195.5 kB / 0.5846 GB, free: 15.48 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.444e-05/0.1586, allocations: 71.27 kB / 0.5847 GB, free: 15.39 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 6.432e-05/0.1587, allocations: 24.64 kB / 0.5847 GB, free: 15.37 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.611e-05/0.1588, allocations: 75.36 kB / 0.5848 GB, free: 15.29 MB / 0.573 GB Notification: Performance of SimCode: time 8.02e-07/0.1588, allocations: 4 kB / 0.5848 GB, free: 15.29 MB / 0.573 GB Notification: Performance of Templates: time 0.0346/0.1934, allocations: 25.91 MB / 0.6101 GB, free: 5.461 MB / 0.5886 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: 3.997738005593419]