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.001331/0.001332, allocations: 108 kB / 15.61 MB, free: 152 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.001625/0.001625, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.391/1.391, allocations: 222.9 MB / 240.2 MB, free: 4.367 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 0.9584/0.9584, allocations: 143 MB / 433.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 63.91 kB / 0.5141 GB, free: 11.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1564, allocations: 82.04 MB / 0.5943 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.002631/0.1591, allocations: 1.334 MB / 0.5956 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4449/0.604, allocations: 148.1 MB / 0.7402 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.279e-05/0.6042, allocations: 0 / 0.7402 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.211e-05/0.6043, allocations: 6.188 kB / 0.7402 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.6044, allocations: 20.86 kB / 0.7402 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.6057, allocations: 328.7 kB / 0.7405 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.6058, allocations: 65.67 kB / 0.7406 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.104e-05/0.6059, allocations: 4.812 kB / 0.7406 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.46e-05/0.6059, allocations: 27.78 kB / 0.7406 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.484e-05/0.606, allocations: 34.78 kB / 0.7406 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.606, allocations: 2.688 kB / 0.7406 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008769/0.6069, allocations: 412.8 kB / 0.741 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.681e-05/0.607, allocations: 15.94 kB / 0.7411 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.659e-05/0.607, allocations: 29.19 kB / 0.7411 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.6074, allocations: 162.3 kB / 0.7412 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.6074, allocations: 1.406 kB / 0.7412 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6074, allocations: 0 / 0.7412 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.6074, allocations: 0 / 0.7412 GB, free: 4.223 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.0004494/0.6079, allocations: 392.1 kB / 0.7416 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.6079, allocations: 14.03 kB / 0.7416 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000433/0.6084, allocations: 32.86 kB / 0.7417 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.6085, allocations: 172.3 kB / 0.7418 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.6085, allocations: 10.66 kB / 0.7418 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.6085, allocations: 9.281 kB / 0.7418 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.6087, allocations: 82.81 kB / 0.7419 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.6087, allocations: 0 / 0.7419 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.6088, allocations: 1.562 kB / 0.7419 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.6088, allocations: 1.469 kB / 0.7419 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.131e-05/0.6089, allocations: 48.58 kB / 0.742 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002/0.6091, allocations: 185 kB / 0.7421 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.6093, allocations: 94.88 kB / 0.7422 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.693e-05/0.6094, allocations: 34.61 kB / 0.7423 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002314/0.6096, allocations: 173.5 kB / 0.7424 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.6096, allocations: 40.95 kB / 0.7425 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.6096, allocations: 0 / 0.7425 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.00137/0.611, allocations: 0.5393 MB / 0.743 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.6111, allocations: 53.62 kB / 0.7431 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.156e-05/0.6112, allocations: 99.31 kB / 0.7431 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.6112, allocations: 30.95 kB / 0.7432 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.895e-05/0.6112, allocations: 85.67 kB / 0.7433 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.3e-05/0.6113, allocations: 73.02 kB / 0.7433 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-05/0.6114, allocations: 37.94 kB / 0.7434 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.6115, allocations: 323.7 kB / 0.7437 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.896e-05/0.6116, allocations: 43.73 kB / 0.7437 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.677e-05/0.6117, allocations: 69.84 kB / 0.7438 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.6118, allocations: 116.1 kB / 0.7439 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.6118, allocations: 0 / 0.7439 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002329/0.6121, allocations: 155.9 kB / 0.744 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.6121, allocations: 4.969 kB / 0.744 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.6121, allocations: 5.406 kB / 0.7441 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.6121, allocations: 5.203 kB / 0.7441 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.6123, allocations: 39.77 kB / 0.7441 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.6123, allocations: 8.219 kB / 0.7441 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.168e-05/0.6124, allocations: 11.41 kB / 0.7441 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.6124, allocations: 4.375 kB / 0.7441 GB, free: 1.762 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 9.864e-05/0.6125, allocations: 122.8 kB / 0.7442 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.6125, allocations: 6.875 kB / 0.7442 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.9e-05/0.6126, allocations: 18.72 kB / 0.7443 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.6126, allocations: 4 kB / 0.7443 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6126, allocations: 6.75 kB / 0.7443 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.6126, allocations: 7.922 kB / 0.7443 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.6128, allocations: 191.8 kB / 0.7445 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.6128, allocations: 0 / 0.7445 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.613, allocations: 35.48 kB / 0.7445 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.613, allocations: 0 / 0.7445 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.613, allocations: 7.5 kB / 0.7445 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.613, allocations: 0 / 0.7445 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.613, allocations: 3.938 kB / 0.7445 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.6134, allocations: 213.7 kB / 0.7447 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.442e-05/0.6135, allocations: 94.62 kB / 0.7448 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.6135, allocations: 2.344 kB / 0.7448 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.6136, allocations: 6.5 kB / 0.7448 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/0.6137, allocations: 12.64 kB / 0.7448 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.6137, allocations: 9.656 kB / 0.7448 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.894e-05/0.6137, allocations: 82.06 kB / 0.7449 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/0.6137, allocations: 0 / 0.7449 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002384/0.614, allocations: 32.95 kB / 0.7449 GB, free: 1.027 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.0001669/0.6142, allocations: 109 kB / 0.745 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002508/0.6144, allocations: 113.5 kB / 0.7451 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6144, allocations: 0 / 0.7451 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.872e-05/0.6145, allocations: 53.72 kB / 0.7452 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.6148, allocations: 28.86 kB / 0.7452 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008857/0.6157, allocations: 0.5063 MB / 0.7457 GB, free: 468 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.616, allocations: 0.7011 MB / 0.7464 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001343/0.6162, allocations: 23.03 kB / 0.7464 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.6162, allocations: 15.72 kB / 0.7464 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of SimCode: time 4.81e-07/0.6162, allocations: 0 / 0.7464 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of Templates: time 0.003589/0.6198, allocations: 1.113 MB / 0.7475 GB, free: 15.18 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)