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.001025/0.001024, allocations: 110.1 kB / 16.37 MB, free: 6.012 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.001059/0.001059, allocations: 194.6 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.334/1.334, 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.8805/0.8805, allocations: 143 MB / 434.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 59.91 kB / 0.5156 GB, free: 14.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3474, allocations: 82.05 MB / 0.5957 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.00199/0.3494, allocations: 1.325 MB / 0.597 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1548/0.5042, allocations: 148.1 MB / 0.7416 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.13e-05/0.5043, allocations: 0 / 0.7416 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.012e-05/0.5043, allocations: 7.922 kB / 0.7416 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.209e-05/0.5045, allocations: 11.94 kB / 0.7416 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009345/0.5054, allocations: 332.9 kB / 0.7419 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.5055, allocations: 59.83 kB / 0.742 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.622e-05/0.5056, allocations: 11.94 kB / 0.742 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.075e-05/0.5056, allocations: 31.91 kB / 0.742 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.968e-05/0.5057, allocations: 31.89 kB / 0.7421 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.5058, allocations: 4 kB / 0.7421 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007312/0.5065, allocations: 406.8 kB / 0.7425 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.186e-05/0.5066, allocations: 19.91 kB / 0.7425 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.95e-05/0.5066, allocations: 23.92 kB / 0.7425 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.5069, allocations: 165.3 kB / 0.7427 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.5069, allocations: 0 / 0.7427 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5069, allocations: 0 / 0.7427 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.5069, allocations: 4 kB / 0.7427 GB, free: 9.145 MB / 0.5762 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.0004934/0.5074, allocations: 387.3 kB / 0.743 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.5075, allocations: 11.97 kB / 0.743 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004/0.5079, allocations: 40.89 kB / 0.7431 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.508, allocations: 168.2 kB / 0.7432 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.5081, allocations: 11.94 kB / 0.7433 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.5081, allocations: 11.98 kB / 0.7433 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.5083, allocations: 81.64 kB / 0.7433 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.5083, allocations: 0 / 0.7433 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.5083, allocations: 4 kB / 0.7434 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.5083, allocations: 0 / 0.7434 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.319e-05/0.5084, allocations: 47.95 kB / 0.7434 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002338/0.5086, allocations: 185.5 kB / 0.7436 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.5088, allocations: 98.62 kB / 0.7437 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.036e-05/0.5089, allocations: 32.84 kB / 0.7437 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000217/0.5091, allocations: 174.5 kB / 0.7439 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.5091, allocations: 38.5 kB / 0.7439 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.5092, allocations: 3.938 kB / 0.7439 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001287/0.5104, allocations: 0.5389 MB / 0.7444 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.5105, allocations: 55.41 kB / 0.7445 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.435e-05/0.5106, allocations: 101.8 kB / 0.7446 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.5106, allocations: 29.7 kB / 0.7446 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.86e-05/0.5106, allocations: 88.62 kB / 0.7447 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.754e-05/0.5107, allocations: 70.91 kB / 0.7448 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-05/0.5108, allocations: 45.7 kB / 0.7448 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.5109, allocations: 314.8 kB / 0.7451 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.192e-05/0.511, allocations: 39.97 kB / 0.7451 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.952e-05/0.5111, allocations: 69.7 kB / 0.7452 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.5113, allocations: 119.3 kB / 0.7453 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.5113, allocations: 0 / 0.7453 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002102/0.5115, allocations: 161.4 kB / 0.7455 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.5115, allocations: 4 kB / 0.7455 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.5115, allocations: 4 kB / 0.7455 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.5116, allocations: 0 / 0.7455 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.5117, allocations: 35.98 kB / 0.7455 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.5117, allocations: 4.125 kB / 0.7455 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.583e-05/0.5118, allocations: 11.94 kB / 0.7455 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.5118, allocations: 4 kB / 0.7455 GB, free: 5.875 MB / 0.5762 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 9.174e-05/0.5119, allocations: 133.8 kB / 0.7457 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/0.5119, allocations: 4 kB / 0.7457 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.174e-05/0.512, allocations: 16.44 kB / 0.7457 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.512, allocations: 4 kB / 0.7457 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.512, allocations: 0 / 0.7457 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.512, allocations: 3.938 kB / 0.7457 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.5122, allocations: 193.6 kB / 0.7459 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.5122, allocations: 0 / 0.7459 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.5124, allocations: 39.91 kB / 0.7459 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.5124, allocations: 8 kB / 0.7459 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.5124, allocations: 4 kB / 0.7459 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5124, allocations: 0 / 0.7459 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5124, allocations: 0 / 0.7459 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003401/0.5128, allocations: 206.7 kB / 0.7461 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.909e-05/0.5128, allocations: 97.06 kB / 0.7462 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.5129, allocations: 7.922 kB / 0.7462 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.513, allocations: 12 kB / 0.7462 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.5131, allocations: 19.86 kB / 0.7463 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.5131, allocations: 8 kB / 0.7463 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.202e-05/0.5131, allocations: 75.28 kB / 0.7463 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5131, allocations: 0 / 0.7463 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002352/0.5134, allocations: 35.94 kB / 0.7464 GB, free: 4.934 MB / 0.5762 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.0001229/0.5135, allocations: 107.3 kB / 0.7465 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.5137, allocations: 107.8 kB / 0.7466 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5137, allocations: 0 / 0.7466 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.072e-05/0.5138, allocations: 54.16 kB / 0.7466 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.5141, allocations: 15.92 kB / 0.7466 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007278/0.5148, allocations: 0.5168 MB / 0.7471 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.515, allocations: 0.6969 MB / 0.7478 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.917e-05/0.5151, allocations: 20.64 kB / 0.7478 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.415e-05/0.5152, allocations: 15.44 kB / 0.7479 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.5152, allocations: 4 kB / 0.7479 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of Templates: time 0.003337/0.5185, allocations: 1.116 MB / 0.749 GB, free: 2.234 MB / 0.5762 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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)