Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.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.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00083/0.0008301, allocations: 99.34 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009491/0.0009492, allocations: 184.3 kB / 16.92 MB, free: 6.895 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.377/1.377, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.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 1.014/1.014, allocations: 143.2 MB / 435.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003245, allocations: 8 kB / 0.517 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1648, allocations: 83.42 MB / 0.5985 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.001403/0.1662, allocations: 1.064 MB / 0.5995 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4731/0.6394, allocations: 144.2 MB / 0.7404 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.444e-05/0.6395, allocations: 1.312 kB / 0.7404 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.167e-05/0.6395, allocations: 6.047 kB / 0.7404 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.6397, allocations: 15.64 kB / 0.7404 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.641, allocations: 299.6 kB / 0.7407 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.6411, allocations: 82.17 kB / 0.7408 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.043e-05/0.6412, allocations: 6.984 kB / 0.7408 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.388e-05/0.6413, allocations: 22.91 kB / 0.7408 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.6414, allocations: 45.48 kB / 0.7408 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.6414, allocations: 1.594 kB / 0.7408 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.6427, allocations: 0.4914 MB / 0.7413 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.917e-05/0.6428, allocations: 16.94 kB / 0.7413 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.298e-05/0.6429, allocations: 55.89 kB / 0.7414 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.6432, allocations: 111.6 kB / 0.7415 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.6432, allocations: 1.188 kB / 0.7415 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.505e-06/0.6432, allocations: 0 / 0.7415 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.6432, allocations: 0.5625 kB / 0.7415 GB, free: 5.668 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005111/0.6437, allocations: 371.5 kB / 0.7419 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.6438, allocations: 11.27 kB / 0.7419 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004817/0.6443, allocations: 37.67 kB / 0.7419 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.6444, allocations: 174.6 kB / 0.7421 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.6444, allocations: 7.984 kB / 0.7421 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.144e-05/0.6445, allocations: 13.97 kB / 0.7421 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.6447, allocations: 77.34 kB / 0.7422 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.6447, allocations: 0 / 0.7422 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.6447, allocations: 5.281 kB / 0.7422 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.6447, allocations: 1.281 kB / 0.7422 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.6449, allocations: 41.05 kB / 0.7422 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002332/0.6451, allocations: 187.6 kB / 0.7424 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.6453, allocations: 98.78 kB / 0.7425 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.198e-05/0.6454, allocations: 33.16 kB / 0.7425 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002644/0.6456, allocations: 181.6 kB / 0.7427 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.6457, allocations: 36.95 kB / 0.7427 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/0.6457, allocations: 0 / 0.7427 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001442/0.6471, allocations: 0.5454 MB / 0.7433 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.6472, allocations: 54.3 kB / 0.7433 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.718e-05/0.6473, allocations: 98.23 kB / 0.7434 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.6473, allocations: 31.89 kB / 0.7434 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.413e-05/0.6473, allocations: 82.14 kB / 0.7435 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.744e-05/0.6474, allocations: 71.98 kB / 0.7436 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.6475, allocations: 23.41 kB / 0.7436 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.6476, allocations: 324.3 kB / 0.7439 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.565e-05/0.6477, allocations: 34.5 kB / 0.7439 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.6478, allocations: 76.44 kB / 0.744 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.648, allocations: 112.6 kB / 0.7441 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.648, allocations: 1.125 kB / 0.7441 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002549/0.6482, allocations: 157.4 kB / 0.7443 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.6483, allocations: 6.062 kB / 0.7443 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.6483, allocations: 0.5156 kB / 0.7443 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.6483, allocations: 3.344 kB / 0.7443 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.6485, allocations: 38.61 kB / 0.7443 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.6485, allocations: 7.672 kB / 0.7443 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.406e-05/0.6485, allocations: 9.719 kB / 0.7443 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.6486, allocations: 5.625 kB / 0.7443 GB, free: 3.254 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 0.0001055/0.6487, allocations: 123.2 kB / 0.7445 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/0.6487, allocations: 5.25 kB / 0.7445 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.803e-05/0.6488, allocations: 16.95 kB / 0.7445 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.6488, allocations: 4.578 kB / 0.7445 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.6488, allocations: 0 / 0.7445 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.6488, allocations: 9.766 kB / 0.7445 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.649, allocations: 193 kB / 0.7447 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.649, allocations: 0.6094 kB / 0.7447 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.6492, allocations: 39.81 kB / 0.7447 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.6492, allocations: 1.406 kB / 0.7447 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.6492, allocations: 1.875 kB / 0.7447 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.6492, allocations: 2.641 kB / 0.7447 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.6492, allocations: 0 / 0.7447 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003381/0.6496, allocations: 225.2 kB / 0.7449 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.262e-05/0.6497, allocations: 87.5 kB / 0.745 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.6497, allocations: 6.828 kB / 0.745 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.6498, allocations: 8.688 kB / 0.745 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.6499, allocations: 9.984 kB / 0.745 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.6499, allocations: 13.8 kB / 0.7451 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.573e-05/0.6499, allocations: 77.39 kB / 0.7451 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.81e-07/0.65, allocations: 2.062 kB / 0.7451 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000238/0.6502, allocations: 25.47 kB / 0.7452 GB, free: 2.582 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,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 (19): * Single equations (assignments): 19 * 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.000158/0.6504, allocations: 112.1 kB / 0.7453 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002455/0.6506, allocations: 106.1 kB / 0.7454 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.6506, allocations: 0.9688 kB / 0.7454 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.395e-05/0.6507, allocations: 51.53 kB / 0.7454 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.651, allocations: 20.64 kB / 0.7454 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.652, allocations: 0.6499 MB / 0.7461 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.6523, allocations: 0.7026 MB / 0.7468 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.652e-05/0.6524, allocations: 16.38 kB / 0.7468 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/0.6524, allocations: 5.125 kB / 0.7468 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of Templates: time 0.00334/0.6558, allocations: 1.292 MB / 0.748 GB, free: 1.082 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)