Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009944/0.0009944, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000941/0.0009412, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9347/0.9347, allocations: 143.3 MB / 434.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003219/0.0003219, allocations: 11.98 kB / 0.5158 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1673, allocations: 83.41 MB / 0.5973 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck): time 0.001433/0.1688, allocations: 0.9783 MB / 0.5982 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3678/0.5366, allocations: 116.4 MB / 0.7119 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.168e-05/0.5366, allocations: 5.438 kB / 0.7119 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.523e-05/0.5367, allocations: 1.266 kB / 0.7119 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.452e-05/0.5367, allocations: 4.641 kB / 0.7119 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.5377, allocations: 360.3 kB / 0.7122 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.156e-05/0.5378, allocations: 28.66 kB / 0.7122 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.526e-05/0.5378, allocations: 1.906 kB / 0.7122 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.567e-05/0.5379, allocations: 27.17 kB / 0.7123 GB, free: 13 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.257e-05/0.538, allocations: 18.69 kB / 0.7123 GB, free: 13 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.538, allocations: 1.156 kB / 0.7123 GB, free: 13 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001516/0.5395, allocations: 0.791 MB / 0.7131 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.192e-05/0.5396, allocations: 8.344 kB / 0.7131 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.817e-05/0.5396, allocations: 29.73 kB / 0.7131 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000436/0.54, allocations: 284.2 kB / 0.7134 GB, free: 12.76 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.54, allocations: 0 / 0.7134 GB, free: 12.76 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.293e-06/0.54, allocations: 0.5625 kB / 0.7134 GB, free: 12.76 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.5401, allocations: 4 kB / 0.7134 GB, free: 12.76 MB / 0.545 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.0004806/0.5405, allocations: 366.1 kB / 0.7137 GB, free: 12.39 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.5406, allocations: 8.594 kB / 0.7137 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001755/0.5408, allocations: 13.67 kB / 0.7137 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.5409, allocations: 161.4 kB / 0.7139 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.5409, allocations: 13.33 kB / 0.7139 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.5409, allocations: 6.406 kB / 0.7139 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.5411, allocations: 53.33 kB / 0.714 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.5411, allocations: 4 kB / 0.714 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.5412, allocations: 1.5 kB / 0.714 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.5412, allocations: 0 / 0.714 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.39e-05/0.5412, allocations: 19.84 kB / 0.714 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001954/0.5414, allocations: 168.7 kB / 0.7142 GB, free: 11.94 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.5416, allocations: 52.8 kB / 0.7142 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01166/0.5532, allocations: 3.213 MB / 0.7173 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.5533, allocations: 31.8 kB / 0.7174 GB, free: 11.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 2.455e-06/0.5533, allocations: 0.8438 kB / 0.7174 GB, free: 11.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.03846/0.5918, allocations: 14.25 MB / 0.7313 GB, free: 2.348 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.5918, allocations: 55.39 kB / 0.7313 GB, free: 2.281 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.746e-05/0.5919, allocations: 89.86 kB / 0.7314 GB, free: 2.184 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.5919, allocations: 33.7 kB / 0.7315 GB, free: 2.145 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.488e-05/0.592, allocations: 80.14 kB / 0.7315 GB, free: 2.062 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.592, allocations: 39.36 kB / 0.7316 GB, free: 2.023 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-06/0.592, allocations: 8.125 kB / 0.7316 GB, free: 2.016 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.549e-05/0.5921, allocations: 318.7 kB / 0.7319 GB, free: 1.695 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.919e-05/0.5922, allocations: 23.98 kB / 0.7319 GB, free: 1.672 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.086e-05/0.5922, allocations: 31.92 kB / 0.7319 GB, free: 1.641 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.176e-05/0.5923, allocations: 24 kB / 0.732 GB, free: 1.617 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.5923, allocations: 0 / 0.732 GB, free: 1.617 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002013/0.5925, allocations: 100.6 kB / 0.7321 GB, free: 1.516 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.5925, allocations: 8 kB / 0.7321 GB, free: 1.508 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5925, allocations: 3.984 kB / 0.7321 GB, free: 1.504 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.5926, allocations: 0 / 0.7321 GB, free: 1.504 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.5927, allocations: 24 kB / 0.7321 GB, free: 1.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.5927, allocations: 0 / 0.7321 GB, free: 1.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.735e-05/0.5927, allocations: 4 kB / 0.7321 GB, free: 1.477 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.5927, allocations: 11.92 kB / 0.7321 GB, free: 1.465 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.117e-05/0.5928, allocations: 117.8 kB / 0.7322 GB, free: 1.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.977e-05/0.5929, allocations: 7.906 kB / 0.7322 GB, free: 1.332 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002527/0.5931, allocations: 125.5 kB / 0.7323 GB, free: 1.203 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.5931, allocations: 4 kB / 0.7324 GB, free: 1.199 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.5932, allocations: 0 / 0.7324 GB, free: 1.199 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.5932, allocations: 3.938 kB / 0.7324 GB, free: 1.195 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.5933, allocations: 181.6 kB / 0.7325 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.5933, allocations: 3.938 kB / 0.7325 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.5934, allocations: 24.48 kB / 0.7326 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.5934, allocations: 0 / 0.7326 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.5935, allocations: 8 kB / 0.7326 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.5935, allocations: 4.562 kB / 0.7326 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.5935, allocations: 0 / 0.7326 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.5937, allocations: 149 kB / 0.7327 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.5938, allocations: 89.05 kB / 0.7328 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.5938, allocations: 4 kB / 0.7328 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.594, allocations: 20.48 kB / 0.7328 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.594, allocations: 11.92 kB / 0.7328 GB, free: 0.625 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.5941, allocations: 11.94 kB / 0.7328 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.721e-05/0.5941, allocations: 75.28 kB / 0.7329 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5941, allocations: 0 / 0.7329 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002048/0.5961, allocations: 0.5663 MB / 0.7335 GB, free: 15.97 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002623/0.5988, allocations: 351.7 kB / 0.7338 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001534/0.5989, allocations: 71.91 kB / 0.7339 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5989, allocations: 0 / 0.7339 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.827e-05/0.599, allocations: 35.98 kB / 0.7339 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001185/0.5991, allocations: 4 kB / 0.7339 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005365/0.5997, allocations: 413 kB / 0.7343 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.5999, allocations: 0.6926 MB / 0.735 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000103/0.6, allocations: 28.97 kB / 0.735 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.717e-05/0.6001, allocations: 23.44 kB / 0.735 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of SimCode: time 1.582e-06/0.6001, allocations: 0 / 0.735 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of Templates: time 0.03324/0.6333, allocations: 25.71 MB / 0.7601 GB, free: 4.672 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: