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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 79.73 kB / 20.75 MB, free: 3.734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001926/0.001926, allocations: 165.4 kB / 24.17 MB, free: 328 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9919/0.9919, allocations: 177.1 MB / 204.6 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.6183/0.6183, allocations: 110.2 MB / 371.3 MB, free: 12.34 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 422.4 MB, free: 9.375 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.584e-05, allocations: 6.312 kB / 422.4 MB, free: 9.367 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.002282/0.002308, allocations: 1.43 MB / 423.8 MB, free: 7.922 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3421/0.3444, allocations: 143.3 MB / 0.5539 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.665e-05/0.3444, allocations: 0 / 0.5539 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.96e-05/0.3445, allocations: 7.938 kB / 0.5539 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.3446, allocations: 7.922 kB / 0.5539 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009636/0.3455, allocations: 335 kB / 0.5542 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.3457, allocations: 67.75 kB / 0.5543 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.692e-05/0.3457, allocations: 4 kB / 0.5543 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.718e-05/0.3458, allocations: 43.89 kB / 0.5543 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.517e-05/0.3459, allocations: 23.95 kB / 0.5543 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.3459, allocations: 4 kB / 0.5544 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007332/0.3466, allocations: 390.5 kB / 0.5547 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.791e-05/0.3467, allocations: 11.98 kB / 0.5547 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.948e-05/0.3467, allocations: 23.91 kB / 0.5548 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003209/0.347, allocations: 171.5 kB / 0.5549 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.347, allocations: 0 / 0.5549 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.462e-06/0.347, allocations: 0 / 0.5549 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.347, allocations: 0 / 0.5549 GB, free: 14.25 MB / 0.4948 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.0003606/0.3474, allocations: 289.3 kB / 0.5552 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.3474, allocations: 12.03 kB / 0.5552 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003851/0.3478, allocations: 76.58 kB / 0.5553 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.885e-05/0.3479, allocations: 105.8 kB / 0.5554 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.3479, allocations: 8.375 kB / 0.5554 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.3479, allocations: 16.5 kB / 0.5554 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.3481, allocations: 196.9 kB / 0.5556 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3481, allocations: 0 / 0.5556 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.679e-06/0.3481, allocations: 3.938 kB / 0.5556 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.3481, allocations: 7.469 kB / 0.5556 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.003e-05/0.3482, allocations: 27.97 kB / 0.5556 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.3483, allocations: 86.59 kB / 0.5557 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.3484, allocations: 69.36 kB / 0.5558 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.722e-05/0.3485, allocations: 20.8 kB / 0.5558 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/0.3486, allocations: 27.97 kB / 0.5558 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.3486, allocations: 32.25 kB / 0.5559 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.243e-06/0.3486, allocations: 4 kB / 0.5559 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.001352/0.35, allocations: 493.7 kB / 0.5563 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.35, allocations: 55.41 kB / 0.5564 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.898e-05/0.35, allocations: 106.7 kB / 0.5565 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.3501, allocations: 29.7 kB / 0.5565 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.204e-05/0.3501, allocations: 80.52 kB / 0.5566 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.615e-05/0.3501, allocations: 79.3 kB / 0.5567 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.206e-05/0.3502, allocations: 41.69 kB / 0.5567 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.619e-05/0.3503, allocations: 318.8 kB / 0.557 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.523e-05/0.3503, allocations: 16 kB / 0.557 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.486e-05/0.3503, allocations: 43.41 kB / 0.5571 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.168e-05/0.3504, allocations: 88.06 kB / 0.5572 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3504, allocations: 0 / 0.5572 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001335/0.3506, allocations: 119.7 kB / 0.5573 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.3506, allocations: 6.188 kB / 0.5573 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3506, allocations: 0 / 0.5573 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3506, allocations: 4 kB / 0.5573 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.3507, allocations: 36.73 kB / 0.5573 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3507, allocations: 7.938 kB / 0.5573 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.634e-05/0.3507, allocations: 4 kB / 0.5573 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.3508, allocations: 4 kB / 0.5573 GB, free: 11.56 MB / 0.4948 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 6.877e-05/0.3508, allocations: 124.6 kB / 0.5574 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.3508, allocations: 19.92 kB / 0.5575 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.547e-05/0.3509, allocations: 20.47 kB / 0.5575 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3509, allocations: 4 kB / 0.5575 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.3509, allocations: 0.625 kB / 0.5575 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3509, allocations: 0 / 0.5575 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.163e-05/0.351, allocations: 85.88 kB / 0.5576 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.351, allocations: 4 kB / 0.5576 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.3511, allocations: 41.11 kB / 0.5576 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3511, allocations: 0 / 0.5576 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.3511, allocations: 3.938 kB / 0.5576 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3511, allocations: 0 / 0.5576 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3511, allocations: 4 kB / 0.5576 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.3513, allocations: 157.9 kB / 0.5578 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.65e-05/0.3513, allocations: 11.94 kB / 0.5578 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.3514, allocations: 11.94 kB / 0.5578 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.36e-05/0.3514, allocations: 0.8125 kB / 0.5578 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.256e-05/0.3514, allocations: 15.97 kB / 0.5578 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.3515, allocations: 4 kB / 0.5578 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.729e-06/0.3515, allocations: 8.859 kB / 0.5578 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.3515, allocations: 0 / 0.5578 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001796/0.3516, allocations: 32 kB / 0.5579 GB, free: 10.98 MB / 0.4948 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.0001166/0.3518, allocations: 88.5 kB / 0.5579 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001199/0.3519, allocations: 76.52 kB / 0.558 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3519, allocations: 0 / 0.558 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.506e-05/0.3519, allocations: 52.72 kB / 0.5581 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.3521, allocations: 37.38 kB / 0.5581 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006311/0.3527, allocations: 324.3 kB / 0.5584 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.567e-05/0.3528, allocations: 69.86 kB / 0.5585 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.45e-05/0.3529, allocations: 23.25 kB / 0.5585 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.353, allocations: 83.36 kB / 0.5586 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/0.353, allocations: 0 / 0.5586 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.003621/0.3566, allocations: 1.625 MB / 0.5602 GB, free: 8.656 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.603923856280744]