Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001706/0.001706, allocations: 191.7 kB / 16.14 MB, free: 6.688 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.386/1.386, allocations: 222.9 MB / 239.8 MB, free: 4.605 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 1.006/1.006, allocations: 143 MB / 433 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 67.91 kB / 0.5135 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1732, allocations: 82.04 MB / 0.5936 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002447/0.1757, allocations: 1.344 MB / 0.5949 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4859/0.6616, allocations: 144.7 MB / 0.7362 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.16e-05/0.6617, allocations: 0 / 0.7362 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.461e-05/0.6617, allocations: 1.359 kB / 0.7362 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.393e-05/0.6618, allocations: 6.062 kB / 0.7362 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003751/0.6622, allocations: 80.3 kB / 0.7363 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.57e-05/0.6623, allocations: 31.19 kB / 0.7363 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.976e-05/0.6623, allocations: 15.44 kB / 0.7363 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.458e-05/0.6624, allocations: 18.05 kB / 0.7364 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.675e-05/0.6624, allocations: 17.19 kB / 0.7364 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.6624, allocations: 1.375 kB / 0.7364 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002542/0.6627, allocations: 75.78 kB / 0.7364 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.6627, allocations: 3.969 kB / 0.7365 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.54e-05/0.6628, allocations: 20.77 kB / 0.7365 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.6629, allocations: 64.67 kB / 0.7365 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.6629, allocations: 0 / 0.7365 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.71e-07/0.6629, allocations: 1.5 kB / 0.7365 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.6629, allocations: 5.375 kB / 0.7365 GB, free: 7.457 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003975/0.6634, allocations: 346.6 kB / 0.7369 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.6634, allocations: 9.625 kB / 0.7369 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001891/0.6636, allocations: 11.55 kB / 0.7369 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.6637, allocations: 169.5 kB / 0.7371 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.6637, allocations: 5.312 kB / 0.7371 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.6638, allocations: 8.125 kB / 0.7371 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.6639, allocations: 52.39 kB / 0.7371 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.6639, allocations: 0 / 0.7371 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.6639, allocations: 5.375 kB / 0.7371 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.6639, allocations: 1.375 kB / 0.7371 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.585e-05/0.664, allocations: 12.56 kB / 0.7371 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.6642, allocations: 167.8 kB / 0.7373 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.705e-05/0.6642, allocations: 55.77 kB / 0.7373 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.884e-05/0.6643, allocations: 15.73 kB / 0.7374 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.6643, allocations: 6.031 kB / 0.7374 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.6643, allocations: 38.08 kB / 0.7374 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.6643, allocations: 0 / 0.7374 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0007168/0.6651, allocations: 369.5 kB / 0.7378 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.6651, allocations: 52.78 kB / 0.7378 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.221e-05/0.6652, allocations: 99.23 kB / 0.7379 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.6652, allocations: 27.08 kB / 0.7379 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.311e-05/0.6652, allocations: 84.73 kB / 0.738 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.6653, allocations: 41.05 kB / 0.738 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.6653, allocations: 28.03 kB / 0.7381 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.6654, allocations: 318.5 kB / 0.7384 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.587e-05/0.6655, allocations: 17.48 kB / 0.7384 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.483e-05/0.6656, allocations: 43.66 kB / 0.7384 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.6657, allocations: 55.39 kB / 0.7385 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.6657, allocations: 1.656 kB / 0.7385 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001635/0.6658, allocations: 101.9 kB / 0.7386 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.6659, allocations: 5.438 kB / 0.7386 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.6659, allocations: 1.344 kB / 0.7386 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.6659, allocations: 2.109 kB / 0.7386 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.6661, allocations: 19.52 kB / 0.7386 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.6661, allocations: 11.31 kB / 0.7386 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.326e-05/0.6661, allocations: 1.969 kB / 0.7386 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.6661, allocations: 10.34 kB / 0.7386 GB, free: 5.445 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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.593e-05/0.6662, allocations: 118.5 kB / 0.7388 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.6663, allocations: 6.438 kB / 0.7388 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.15e-05/0.6663, allocations: 8.531 kB / 0.7388 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.6663, allocations: 2.594 kB / 0.7388 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/0.6663, allocations: 2.438 kB / 0.7388 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.6663, allocations: 0.7031 kB / 0.7388 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.6665, allocations: 179.8 kB / 0.7389 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6665, allocations: 0.7812 kB / 0.7389 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.6666, allocations: 24.88 kB / 0.739 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.6667, allocations: 1.344 kB / 0.739 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.6667, allocations: 1.156 kB / 0.739 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.6667, allocations: 3.938 kB / 0.739 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6667, allocations: 1.844 kB / 0.739 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.6669, allocations: 133.9 kB / 0.7391 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.266e-05/0.667, allocations: 87.23 kB / 0.7392 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.667, allocations: 1.594 kB / 0.7392 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.023e-05/0.6671, allocations: 14.75 kB / 0.7392 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.128e-05/0.6671, allocations: 5.562 kB / 0.7392 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.6672, allocations: 3 kB / 0.7392 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.822e-05/0.6672, allocations: 76.75 kB / 0.7393 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6672, allocations: 0 / 0.7393 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000203/0.6674, allocations: 17.19 kB / 0.7393 GB, free: 4.824 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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.0001244/0.6676, allocations: 109.3 kB / 0.7394 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001471/0.6677, allocations: 56.12 kB / 0.7395 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6677, allocations: 0 / 0.7395 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.116e-05/0.6678, allocations: 34.2 kB / 0.7395 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.6681, allocations: 7.531 kB / 0.7395 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000618/0.6687, allocations: 334.9 kB / 0.7398 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.669, allocations: 0.6835 MB / 0.7405 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.924e-05/0.6691, allocations: 12.06 kB / 0.7405 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.6691, allocations: 12.97 kB / 0.7405 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.6691, allocations: 0 / 0.7405 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of Templates: time 0.002703/0.6718, allocations: 0.6153 MB / 0.7411 GB, free: 3.664 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)