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.0008544/0.0008544, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00093/0.00093, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.187/1.187, allocations: 223.3 MB / 240 MB, free: 5.43 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.8831/0.8831, allocations: 143.2 MB / 434.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002684/0.0002685, allocations: 8 kB / 0.5158 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1273, allocations: 83.41 MB / 0.5972 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.001194/0.1285, allocations: 1.037 MB / 0.5982 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3544/0.483, allocations: 134.5 MB / 0.7296 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.749e-05/0.483, allocations: 0 / 0.7296 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.644e-05/0.4831, allocations: 2.016 kB / 0.7296 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.09e-05/0.4832, allocations: 17.62 kB / 0.7296 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006603/0.4838, allocations: 228.5 kB / 0.7298 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.484, allocations: 71.94 kB / 0.7299 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.331e-05/0.484, allocations: 6.688 kB / 0.7299 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.515e-05/0.484, allocations: 27.98 kB / 0.7299 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.124e-05/0.4841, allocations: 32.09 kB / 0.7299 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.4842, allocations: 3.219 kB / 0.7299 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000593/0.4848, allocations: 249.5 kB / 0.7302 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.258e-05/0.4848, allocations: 21.88 kB / 0.7302 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.244e-05/0.4849, allocations: 36.23 kB / 0.7302 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.485, allocations: 96.91 kB / 0.7303 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.4851, allocations: 0.5625 kB / 0.7303 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4851, allocations: 1.547 kB / 0.7303 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.4851, allocations: 0 / 0.7303 GB, free: 14.75 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.0003769/0.4854, allocations: 375 kB / 0.7307 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.4855, allocations: 10.61 kB / 0.7307 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003642/0.4859, allocations: 39.34 kB / 0.7307 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.453e-05/0.486, allocations: 170.6 kB / 0.7309 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.486, allocations: 8.172 kB / 0.7309 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.486, allocations: 14.2 kB / 0.7309 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.4862, allocations: 76.53 kB / 0.731 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.4862, allocations: 0 / 0.731 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.4862, allocations: 1.031 kB / 0.731 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.4862, allocations: 4.188 kB / 0.731 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.805e-05/0.4863, allocations: 47.39 kB / 0.731 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/0.4865, allocations: 191 kB / 0.7312 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.4867, allocations: 93.16 kB / 0.7313 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.904e-05/0.4867, allocations: 32.2 kB / 0.7313 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002037/0.4869, allocations: 174.6 kB / 0.7315 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.487, allocations: 40.59 kB / 0.7316 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.123e-06/0.487, allocations: 0 / 0.7316 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001136/0.4881, allocations: 0.5398 MB / 0.7321 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.4882, allocations: 59.41 kB / 0.7321 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.098e-05/0.4882, allocations: 97.17 kB / 0.7322 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.4883, allocations: 31.89 kB / 0.7323 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.414e-05/0.4883, allocations: 80.52 kB / 0.7323 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.864e-05/0.4883, allocations: 64.56 kB / 0.7324 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-06/0.4884, allocations: 5.375 kB / 0.7324 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.053e-05/0.4885, allocations: 324.6 kB / 0.7327 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.783e-05/0.4885, allocations: 32.61 kB / 0.7327 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.156e-05/0.4886, allocations: 72.02 kB / 0.7328 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.822e-05/0.4887, allocations: 50.73 kB / 0.7329 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.4887, allocations: 1.125 kB / 0.7329 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002116/0.4889, allocations: 153.9 kB / 0.733 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.4889, allocations: 6.969 kB / 0.733 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.4889, allocations: 0.9375 kB / 0.733 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.489, allocations: 2.125 kB / 0.733 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.4891, allocations: 40.3 kB / 0.7331 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.4891, allocations: 5.438 kB / 0.7331 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.685e-05/0.4892, allocations: 6.141 kB / 0.7331 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.4892, allocations: 9.656 kB / 0.7331 GB, free: 12.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.868e-05/0.4893, allocations: 123.1 kB / 0.7332 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.4893, allocations: 9.5 kB / 0.7332 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.421e-05/0.4893, allocations: 17.23 kB / 0.7332 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4894, allocations: 2.5 kB / 0.7332 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.4894, allocations: 2.125 kB / 0.7332 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4894, allocations: 5.688 kB / 0.7332 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.4895, allocations: 196.6 kB / 0.7334 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4895, allocations: 0 / 0.7334 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.4897, allocations: 35.23 kB / 0.7335 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.4897, allocations: 5.812 kB / 0.7335 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.4897, allocations: 6.062 kB / 0.7335 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4897, allocations: 2.109 kB / 0.7335 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4898, allocations: 1.953 kB / 0.7335 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.49, allocations: 217.6 kB / 0.7337 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.959e-05/0.4901, allocations: 91.95 kB / 0.7338 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.4901, allocations: 5.656 kB / 0.7338 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.4902, allocations: 9.828 kB / 0.7338 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.4903, allocations: 13.8 kB / 0.7338 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.4903, allocations: 8.531 kB / 0.7338 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.343e-05/0.4903, allocations: 77.41 kB / 0.7339 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.4903, allocations: 0 / 0.7339 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002026/0.4905, allocations: 29.03 kB / 0.7339 GB, free: 11.73 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001115/0.4907, allocations: 111.4 kB / 0.734 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001849/0.4908, allocations: 108.4 kB / 0.7341 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4909, allocations: 0.9375 kB / 0.7341 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.955e-05/0.4909, allocations: 51.91 kB / 0.7342 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.4912, allocations: 12.98 kB / 0.7342 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007555/0.4919, allocations: 0.6153 MB / 0.7348 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.4921, allocations: 0.6978 MB / 0.7355 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001189/0.4923, allocations: 28.58 kB / 0.7355 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.4923, allocations: 14.22 kB / 0.7355 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.4923, allocations: 1.281 kB / 0.7355 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of Templates: time 0.003014/0.4953, allocations: 1.027 MB / 0.7365 GB, free: 10.33 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)