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.000958/0.0009579, allocations: 98.27 kB / 15.36 MB, free: 0.7305 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.001346/0.001346, allocations: 173.4 kB / 16.27 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.519/1.519, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.058/1.058, allocations: 143.2 MB / 434.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003827/0.0003828, allocations: 8 kB / 0.5164 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1936, allocations: 83.41 MB / 0.5978 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001527/0.1952, allocations: 1.005 MB / 0.5988 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4748/0.67, allocations: 143.2 MB / 0.7386 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.531e-05/0.6701, allocations: 0 / 0.7386 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.438e-05/0.6701, allocations: 1.453 kB / 0.7386 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.455e-05/0.6702, allocations: 5.828 kB / 0.7386 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.6706, allocations: 79.7 kB / 0.7387 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.457e-05/0.6707, allocations: 36.06 kB / 0.7387 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.204e-05/0.6707, allocations: 10.05 kB / 0.7387 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.137e-05/0.6708, allocations: 14.14 kB / 0.7388 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.119e-05/0.6709, allocations: 16.25 kB / 0.7388 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.6709, allocations: 2.219 kB / 0.7388 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002685/0.6712, allocations: 75.69 kB / 0.7389 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.047e-05/0.6712, allocations: 7.234 kB / 0.7389 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.107e-05/0.6712, allocations: 42.47 kB / 0.7389 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.6714, allocations: 63.09 kB / 0.739 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.6714, allocations: 1.578 kB / 0.739 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6714, allocations: 0 / 0.739 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.6714, allocations: 4 kB / 0.739 GB, free: 6.742 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.0004092/0.6719, allocations: 337.8 kB / 0.7393 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.6719, allocations: 10.05 kB / 0.7393 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/0.6721, allocations: 13.64 kB / 0.7393 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.765e-05/0.6722, allocations: 161.3 kB / 0.7395 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.6722, allocations: 11.47 kB / 0.7395 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.6723, allocations: 4.594 kB / 0.7395 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.6724, allocations: 59.38 kB / 0.7395 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.6724, allocations: 0 / 0.7395 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.6724, allocations: 2.547 kB / 0.7395 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.6724, allocations: 0 / 0.7395 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.35e-05/0.6725, allocations: 17.44 kB / 0.7396 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.6727, allocations: 163.6 kB / 0.7397 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.285e-05/0.6728, allocations: 56.62 kB / 0.7398 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.973e-05/0.6728, allocations: 17.16 kB / 0.7398 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.6728, allocations: 14.64 kB / 0.7398 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.6729, allocations: 31.66 kB / 0.7398 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/0.6729, allocations: 0 / 0.7398 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0007271/0.6736, allocations: 371.4 kB / 0.7402 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.6737, allocations: 52.94 kB / 0.7402 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.135e-05/0.6738, allocations: 97.17 kB / 0.7403 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.6738, allocations: 26.95 kB / 0.7403 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.039e-05/0.6738, allocations: 85.58 kB / 0.7404 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.393e-05/0.6739, allocations: 39.38 kB / 0.7405 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/0.6739, allocations: 19.17 kB / 0.7405 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.842e-05/0.674, allocations: 321.9 kB / 0.7408 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.643e-05/0.6741, allocations: 17.36 kB / 0.7408 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.279e-05/0.6741, allocations: 37.31 kB / 0.7408 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.773e-05/0.6742, allocations: 61.69 kB / 0.7409 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.6742, allocations: 0 / 0.7409 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001376/0.6744, allocations: 100.2 kB / 0.741 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.6744, allocations: 5.312 kB / 0.741 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.6744, allocations: 1.094 kB / 0.741 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.6744, allocations: 1.641 kB / 0.741 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.6745, allocations: 23.88 kB / 0.741 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.6746, allocations: 3.375 kB / 0.741 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.408e-05/0.6746, allocations: 5.625 kB / 0.741 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.6746, allocations: 6.031 kB / 0.741 GB, free: 4.742 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 8.097e-05/0.6747, allocations: 121 kB / 0.7412 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.6747, allocations: 4.422 kB / 0.7412 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.905e-05/0.6748, allocations: 15.95 kB / 0.7412 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.6748, allocations: 2.141 kB / 0.7412 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.6748, allocations: 1.531 kB / 0.7412 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.6748, allocations: 0.5625 kB / 0.7412 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.6749, allocations: 170.7 kB / 0.7413 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6749, allocations: 0 / 0.7413 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.6751, allocations: 26.72 kB / 0.7414 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.6751, allocations: 0 / 0.7414 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.6751, allocations: 5.828 kB / 0.7414 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.6751, allocations: 2.203 kB / 0.7414 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6751, allocations: 0.5625 kB / 0.7414 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.6753, allocations: 136.8 kB / 0.7415 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.094e-05/0.6754, allocations: 88.08 kB / 0.7416 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.6754, allocations: 4.812 kB / 0.7416 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.417e-05/0.6755, allocations: 9.891 kB / 0.7416 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.702e-05/0.6755, allocations: 5.203 kB / 0.7416 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.6755, allocations: 7.953 kB / 0.7416 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.88e-05/0.6756, allocations: 76.98 kB / 0.7417 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6756, allocations: 0 / 0.7417 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001962/0.6758, allocations: 17.19 kB / 0.7417 GB, free: 4.113 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.0001125/0.6759, allocations: 101.3 kB / 0.7418 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.676, allocations: 63.36 kB / 0.7419 GB, free: 4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.676, allocations: 0 / 0.7419 GB, free: 4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.438e-05/0.6761, allocations: 30 kB / 0.7419 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.6763, allocations: 9.594 kB / 0.7419 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006129/0.6769, allocations: 380.8 kB / 0.7423 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.6772, allocations: 0.6898 MB / 0.7429 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.858e-05/0.6773, allocations: 11.02 kB / 0.743 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.6773, allocations: 11.22 kB / 0.743 GB, free: 3 MB / 0.5606 GB Notification: Performance of SimCode: time 4.81e-07/0.6773, allocations: 0 / 0.743 GB, free: 3 MB / 0.5606 GB Notification: Performance of Templates: time 0.003053/0.6804, allocations: 0.6112 MB / 0.7436 GB, free: 2.941 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)