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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001193/0.001193, allocations: 112.6 kB / 16.37 MB, free: 6 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.001195/0.001195, allocations: 196 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8782/0.8782, allocations: 143.1 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.89 kB / 0.5156 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3471, allocations: 82.03 MB / 0.5957 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck): time 0.001954/0.3491, allocations: 1.269 MB / 0.5969 GB, free: 14.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1596/0.5088, allocations: 137.7 MB / 0.7314 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.651e-05/0.5088, allocations: 0 / 0.7314 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.422e-05/0.5089, allocations: 3.938 kB / 0.7314 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.929e-05/0.509, allocations: 4 kB / 0.7314 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.5101, allocations: 471.6 kB / 0.7319 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.137e-05/0.5102, allocations: 47.83 kB / 0.7319 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.78e-05/0.5103, allocations: 4 kB / 0.7319 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.11e-05/0.5103, allocations: 19.98 kB / 0.7319 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.208e-05/0.5104, allocations: 15.91 kB / 0.732 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.5104, allocations: 8 kB / 0.732 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/0.5118, allocations: 0.827 MB / 0.7328 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.98e-05/0.5118, allocations: 11.98 kB / 0.7328 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.189e-05/0.5119, allocations: 23.91 kB / 0.7328 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005513/0.5124, allocations: 443 kB / 0.7332 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5124, allocations: 0 / 0.7332 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5124, allocations: 3.938 kB / 0.7332 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.5124, allocations: 0 / 0.7332 GB, free: 2.844 MB / 0.5606 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.0004938/0.5129, allocations: 373.2 kB / 0.7336 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.513, allocations: 8.031 kB / 0.7336 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.5132, allocations: 12.94 kB / 0.7336 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.5133, allocations: 164.4 kB / 0.7338 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.5133, allocations: 8.375 kB / 0.7338 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.5133, allocations: 8.125 kB / 0.7338 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.5135, allocations: 57.61 kB / 0.7338 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.5135, allocations: 7.922 kB / 0.7338 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.5135, allocations: 0 / 0.7338 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.5135, allocations: 0 / 0.7338 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.62e-05/0.5136, allocations: 19.98 kB / 0.7339 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001702/0.5138, allocations: 161.7 kB / 0.734 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.5139, allocations: 62.55 kB / 0.7341 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.386e-05/0.5139, allocations: 24.78 kB / 0.7341 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01052/0.5245, allocations: 3.202 MB / 0.7372 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.5245, allocations: 34.56 kB / 0.7373 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.5245, allocations: 0 / 0.7373 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.316/0.8406, allocations: 14.99 MB / 0.7519 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.8407, allocations: 55.44 kB / 0.7519 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.886e-05/0.8407, allocations: 96.25 kB / 0.752 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.8407, allocations: 26.92 kB / 0.7521 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.239e-05/0.8408, allocations: 80.77 kB / 0.7521 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/0.8408, allocations: 41.95 kB / 0.7522 GB, free: 151 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.663e-05/0.8409, allocations: 33.48 kB / 0.7522 GB, free: 151 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.214e-05/0.8409, allocations: 318.5 kB / 0.7525 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.309e-05/0.841, allocations: 24.33 kB / 0.7525 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.34e-05/0.8411, allocations: 27 kB / 0.7526 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.8412, allocations: 57.31 kB / 0.7526 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.8412, allocations: 2.844 kB / 0.7526 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002266/0.8414, allocations: 113.8 kB / 0.7527 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.8415, allocations: 5.578 kB / 0.7527 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.8415, allocations: 3.734 kB / 0.7527 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.8415, allocations: 0.6562 kB / 0.7527 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.8416, allocations: 24.22 kB / 0.7528 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.8417, allocations: 2.281 kB / 0.7528 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.751e-05/0.8417, allocations: 4.812 kB / 0.7528 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.8417, allocations: 5.578 kB / 0.7528 GB, free: 150.6 MB / 0.5762 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.37e-05/0.8418, allocations: 121.8 kB / 0.7529 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.467e-05/0.8418, allocations: 3.812 kB / 0.7529 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002761/0.8421, allocations: 126.2 kB / 0.753 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.8421, allocations: 3.375 kB / 0.753 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.8421, allocations: 0.75 kB / 0.753 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.8421, allocations: 0.6094 kB / 0.753 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.8423, allocations: 181.9 kB / 0.7532 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.8423, allocations: 0.5625 kB / 0.7532 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.8424, allocations: 28.47 kB / 0.7532 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.8424, allocations: 3.406 kB / 0.7532 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.8424, allocations: 5.656 kB / 0.7532 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.8425, allocations: 1.406 kB / 0.7532 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.8425, allocations: 0.7812 kB / 0.7532 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003088/0.8428, allocations: 153.3 kB / 0.7534 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.013e-05/0.8428, allocations: 93.56 kB / 0.7535 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.8429, allocations: 1.875 kB / 0.7535 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.843, allocations: 16.31 kB / 0.7535 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.843, allocations: 7.5 kB / 0.7535 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.8431, allocations: 5.234 kB / 0.7535 GB, free: 150 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.93e-05/0.8431, allocations: 82.77 kB / 0.7536 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8431, allocations: 0 / 0.7536 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0019/0.845, allocations: 0.5633 MB / 0.7541 GB, free: 149.9 MB / 0.5762 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.002737/0.8477, allocations: 365.5 kB / 0.7545 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000197/0.848, allocations: 65.28 kB / 0.7545 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.848, allocations: 0 / 0.7545 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.346e-05/0.848, allocations: 42.2 kB / 0.7546 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.8482, allocations: 13.75 kB / 0.7546 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005278/0.8488, allocations: 341.9 kB / 0.7549 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.861e-05/0.8489, allocations: 0.6859 MB / 0.7556 GB, free: 148.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.747e-05/0.849, allocations: 24.73 kB / 0.7556 GB, free: 148.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.849, allocations: 19.47 kB / 0.7556 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of SimCode: time 2.1e-07/0.849, allocations: 0 / 0.7556 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.03046/0.8795, allocations: 24.35 MB / 0.7794 GB, free: 135.2 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.makefile (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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1)