Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001311/0.001311, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001441/0.001441, allocations: 177 kB / 23.36 MB, free: 1.137 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 0.9851/0.9851, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001697/0.001697, allocations: 254 kB / 260.5 MB, free: 12.69 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7297/0.7297, allocations: 138.4 MB / 402.2 MB, free: 0.5547 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") translateModel(BuildingSystems.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 462.3 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.266e-05/1.438e-05, allocations: 6.375 kB / 462.3 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.001582/0.001596, allocations: 1.31 MB / 463.6 MB, free: 92 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1225/0.1241, allocations: 132.9 MB / 0.5825 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.747e-05/0.1242, allocations: 0 / 0.5825 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/0.1242, allocations: 0 / 0.5825 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 4.93e-05/0.1242, allocations: 7.938 kB / 0.5825 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.1253, allocations: 467.2 kB / 0.5829 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 7.527e-05/0.1254, allocations: 51.83 kB / 0.583 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 3.745e-05/0.1254, allocations: 4 kB / 0.583 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 5.293e-05/0.1255, allocations: 27.91 kB / 0.583 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 6.448e-05/0.1256, allocations: 15.97 kB / 0.583 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.1256, allocations: 0 / 0.583 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009691/0.1265, allocations: 0.7996 MB / 0.5838 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.1266, allocations: 15.97 kB / 0.5838 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 1.913e-05/0.1266, allocations: 12 kB / 0.5838 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0005269/0.1271, allocations: 0.5651 MB / 0.5844 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.1271, allocations: 0 / 0.5844 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.154e-06/0.1271, allocations: 4 kB / 0.5844 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.1271, allocations: 0 / 0.5844 GB, free: 10.39 MB / 0.5417 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.0003567/0.1275, allocations: 267.9 kB / 0.5846 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.1275, allocations: 16.75 kB / 0.5846 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.1276, allocations: 24.84 kB / 0.5847 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.697e-05/0.1277, allocations: 101.8 kB / 0.5848 GB, free: 9.945 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1277, allocations: 4.375 kB / 0.5848 GB, free: 9.941 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.1277, allocations: 11.47 kB / 0.5848 GB, free: 9.934 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.1278, allocations: 127.3 kB / 0.5849 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.1278, allocations: 3.938 kB / 0.5849 GB, free: 9.781 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.1278, allocations: 7.938 kB / 0.5849 GB, free: 9.773 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1279, allocations: 0.6562 kB / 0.5849 GB, free: 9.773 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.183e-05/0.1279, allocations: 15.97 kB / 0.5849 GB, free: 9.758 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.475e-05/0.128, allocations: 76.97 kB / 0.585 GB, free: 9.668 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.813e-05/0.128, allocations: 42.62 kB / 0.585 GB, free: 9.617 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.558e-05/0.128, allocations: 12.86 kB / 0.585 GB, free: 9.602 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004506/0.1325, allocations: 2.444 MB / 0.5874 GB, free: 7.156 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.1326, allocations: 38.55 kB / 0.5875 GB, free: 7.109 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.1326, allocations: 0 / 0.5875 GB, free: 7.109 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11): time 0.0141/0.1467, allocations: 6.354 MB / 0.5937 GB, free: 0.7148 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.1467, allocations: 55.41 kB / 0.5937 GB, free: 0.6484 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.229e-05/0.1467, allocations: 94.72 kB / 0.5938 GB, free: 0.543 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.1468, allocations: 29.83 kB / 0.5938 GB, free: 0.5078 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 1.927e-05/0.1468, allocations: 84.14 kB / 0.5939 GB, free: 432 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.1468, allocations: 43.67 kB / 0.594 GB, free: 388 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.1468, allocations: 29.69 kB / 0.594 GB, free: 352 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.632e-05/0.1469, allocations: 314.8 kB / 0.5943 GB, free: 28 kB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.541e-05/0.1469, allocations: 15.98 kB / 0.5943 GB, free: 12 kB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.999e-05/0.1469, allocations: 8.875 kB / 0.5943 GB, free: 4 kB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.495e-05/0.147, allocations: 43.16 kB / 0.5944 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.147, allocations: 0 / 0.5944 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001002/0.1471, allocations: 84.84 kB / 0.5944 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.1471, allocations: 4 kB / 0.5944 GB, free: 15.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.1471, allocations: 11.94 kB / 0.5945 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1471, allocations: 0 / 0.5945 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.955e-05/0.1472, allocations: 19.98 kB / 0.5945 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.155e-06/0.1472, allocations: 4 kB / 0.5945 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.476e-05/0.1472, allocations: 4 kB / 0.5945 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.1472, allocations: 0 / 0.5945 GB, free: 15.83 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 5.074e-05/0.1473, allocations: 117.8 kB / 0.5946 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.1473, allocations: 13.86 kB / 0.5946 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.1474, allocations: 103.3 kB / 0.5947 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1474, allocations: 0 / 0.5947 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.1474, allocations: 0 / 0.5947 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1474, allocations: 4 kB / 0.5947 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.716e-05/0.1475, allocations: 81.86 kB / 0.5948 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1475, allocations: 4 kB / 0.5948 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.421e-05/0.1476, allocations: 27.92 kB / 0.5948 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.1476, allocations: 0 / 0.5948 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.1476, allocations: 4 kB / 0.5948 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1476, allocations: 4 kB / 0.5948 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1476, allocations: 3.938 kB / 0.5948 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.1477, allocations: 109 kB / 0.5949 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.733e-05/0.1477, allocations: 15.94 kB / 0.595 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.987e-06/0.1477, allocations: 7.938 kB / 0.595 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.795e-05/0.1478, allocations: 13.11 kB / 0.595 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.297e-05/0.1478, allocations: 7.938 kB / 0.595 GB, free: 15.28 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.1478, allocations: 3.984 kB / 0.595 GB, free: 15.28 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.123e-06/0.1478, allocations: 8.859 kB / 0.595 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.1478, allocations: 4.094 kB / 0.595 GB, free: 15.26 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001016/0.1488, allocations: 0.5621 MB / 0.5955 GB, free: 14.7 MB / 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.001772/0.1506, allocations: 383.8 kB / 0.5959 GB, free: 14.31 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 8.259e-05/0.1507, allocations: 43.69 kB / 0.596 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.1507, allocations: 4 kB / 0.596 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.673e-05/0.1507, allocations: 32.78 kB / 0.596 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001003/0.1508, allocations: 32.58 kB / 0.596 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004211/0.1512, allocations: 236.4 kB / 0.5962 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.646e-05/0.1513, allocations: 67.28 kB / 0.5963 GB, free: 13.86 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.311e-05/0.1513, allocations: 30.67 kB / 0.5963 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.947e-05/0.1514, allocations: 75.36 kB / 0.5964 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of SimCode: time 3.81e-07/0.1514, allocations: 0 / 0.5964 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of Templates: time 0.02903/0.1804, allocations: 25.86 MB / 0.6217 GB, free: 4.016 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.2681138892658055]