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.001251/0.001251, allocations: 112.2 kB / 16.37 MB, free: 5.953 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.001282/0.001282, allocations: 190.2 kB / 17.3 MB, free: 5.578 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.14 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.8247/0.8247, allocations: 143.1 MB / 434.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.91 kB / 0.5156 GB, free: 14.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.3002, allocations: 82.04 MB / 0.5957 GB, free: 16.13 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.002195/0.3025, allocations: 1.339 MB / 0.597 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1413/0.4438, allocations: 148.1 MB / 0.7416 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.369e-05/0.4439, allocations: 0 / 0.7416 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.674e-05/0.444, allocations: 7.922 kB / 0.7416 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.034e-05/0.4441, allocations: 11.92 kB / 0.7416 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008975/0.445, allocations: 330.6 kB / 0.7419 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.951e-05/0.4451, allocations: 71.75 kB / 0.742 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.313e-05/0.4452, allocations: 4 kB / 0.742 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.596e-05/0.4452, allocations: 31.91 kB / 0.742 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.393e-05/0.4453, allocations: 39.83 kB / 0.7421 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.4453, allocations: 4 kB / 0.7421 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007203/0.4461, allocations: 402.9 kB / 0.7425 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.756e-05/0.4461, allocations: 15.92 kB / 0.7425 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.144e-05/0.4462, allocations: 31.91 kB / 0.7425 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.4465, allocations: 157.3 kB / 0.7427 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4465, allocations: 4 kB / 0.7427 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4465, allocations: 0 / 0.7427 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.4465, allocations: 4 kB / 0.7427 GB, free: 9.148 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.000408/0.4469, allocations: 395.3 kB / 0.7431 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.4469, allocations: 12.03 kB / 0.7431 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003756/0.4473, allocations: 28.91 kB / 0.7431 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.808e-05/0.4474, allocations: 168.3 kB / 0.7433 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.4474, allocations: 11.94 kB / 0.7433 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.4475, allocations: 12 kB / 0.7433 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.4476, allocations: 77.59 kB / 0.7433 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.4477, allocations: 0 / 0.7433 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.4477, allocations: 4 kB / 0.7434 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.4477, allocations: 3.984 kB / 0.7434 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.935e-05/0.4478, allocations: 51.95 kB / 0.7434 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000177/0.448, allocations: 189.5 kB / 0.7436 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.4481, allocations: 90.62 kB / 0.7437 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.667e-05/0.4482, allocations: 33.17 kB / 0.7437 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002023/0.4484, allocations: 174.2 kB / 0.7439 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.4484, allocations: 42.5 kB / 0.7439 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.213e-06/0.4485, allocations: 0 / 0.7439 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001196/0.4497, allocations: 0.5462 MB / 0.7444 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.4497, allocations: 55.34 kB / 0.7445 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.24e-05/0.4498, allocations: 101.8 kB / 0.7446 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.4498, allocations: 25.7 kB / 0.7446 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.948e-05/0.4498, allocations: 88.52 kB / 0.7447 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.993e-05/0.4499, allocations: 74.89 kB / 0.7448 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.107e-05/0.4499, allocations: 41.83 kB / 0.7448 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.68e-05/0.45, allocations: 318.8 kB / 0.7451 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.003e-05/0.4501, allocations: 35.97 kB / 0.7452 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.817e-05/0.4502, allocations: 77.7 kB / 0.7452 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.4504, allocations: 107.4 kB / 0.7453 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4504, allocations: 4 kB / 0.7453 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002195/0.4506, allocations: 157.6 kB / 0.7455 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.4506, allocations: 11.94 kB / 0.7455 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.4506, allocations: 80 / 0.7455 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.4506, allocations: 4 kB / 0.7455 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.4508, allocations: 35.92 kB / 0.7455 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.4508, allocations: 7.984 kB / 0.7455 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.664e-05/0.4509, allocations: 7.938 kB / 0.7455 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.4509, allocations: 8 kB / 0.7456 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 8.321e-05/0.451, allocations: 125.8 kB / 0.7457 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.94e-05/0.451, allocations: 7.984 kB / 0.7457 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.823e-05/0.451, allocations: 16.56 kB / 0.7457 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.4511, allocations: 4 kB / 0.7457 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4511, allocations: 4 kB / 0.7457 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.4511, allocations: 3.938 kB / 0.7457 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.4512, allocations: 193.6 kB / 0.7459 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4512, allocations: 0 / 0.7459 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001937/0.4514, allocations: 35.98 kB / 0.7459 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.4514, allocations: 3.938 kB / 0.7459 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.4515, allocations: 0 / 0.7459 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.4515, allocations: 4 kB / 0.7459 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.4515, allocations: 7.984 kB / 0.7459 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.4518, allocations: 208.8 kB / 0.7461 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.662e-05/0.4518, allocations: 92.94 kB / 0.7462 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.4519, allocations: 8.062 kB / 0.7462 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.452, allocations: 7.984 kB / 0.7462 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.452, allocations: 15.92 kB / 0.7463 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.452, allocations: 12 kB / 0.7463 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.717e-05/0.4521, allocations: 75.28 kB / 0.7463 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4521, allocations: 0 / 0.7463 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002137/0.4523, allocations: 28 kB / 0.7464 GB, free: 4.945 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.0001208/0.4524, allocations: 107.2 kB / 0.7465 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000182/0.4526, allocations: 103.9 kB / 0.7466 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4526, allocations: 4 kB / 0.7466 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.622e-05/0.4527, allocations: 58.66 kB / 0.7466 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.4529, allocations: 16 kB / 0.7466 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007141/0.4536, allocations: 0.505 MB / 0.7471 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.4539, allocations: 0.7047 MB / 0.7478 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.455e-05/0.454, allocations: 24.62 kB / 0.7479 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.454, allocations: 15.44 kB / 0.7479 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/0.454, allocations: 0 / 0.7479 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of Templates: time 0.003207/0.4573, allocations: 1.121 MB / 0.749 GB, free: 2.242 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 gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)