Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001009/0.001009, allocations: 92.2 kB / 16.66 MB, free: 5.742 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.001071/0.001072, allocations: 179 kB / 17.58 MB, free: 5.477 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: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7307/0.7307, allocations: 115.5 MB / 408.2 MB, free: 7.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003825, allocations: 8.281 kB / 496.5 MB, free: 15.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.3991, allocations: 77.51 MB / 0.5606 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001174/0.4003, allocations: 0.9948 MB / 0.5616 GB, free: 34.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1537/0.554, allocations: 143.2 MB / 0.7014 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.676e-05/0.5541, allocations: 0 / 0.7014 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.46e-05/0.5541, allocations: 3.984 kB / 0.7014 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.546e-05/0.5542, allocations: 7.922 kB / 0.7014 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003422/0.5545, allocations: 75.7 kB / 0.7014 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.328e-05/0.5546, allocations: 35.84 kB / 0.7015 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.826e-05/0.5547, allocations: 0 / 0.7015 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.268e-05/0.5547, allocations: 23.92 kB / 0.7015 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.717e-05/0.5548, allocations: 11.98 kB / 0.7015 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.5548, allocations: 0 / 0.7015 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000249/0.555, allocations: 75.81 kB / 0.7016 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.5551, allocations: 11.94 kB / 0.7016 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.782e-05/0.5551, allocations: 37.7 kB / 0.7016 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.5552, allocations: 49.86 kB / 0.7017 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5552, allocations: 0 / 0.7017 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5553, allocations: 0 / 0.7017 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.5553, allocations: 0 / 0.7017 GB, free: 2.457 MB / 0.5294 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.0003614/0.5556, allocations: 343.5 kB / 0.702 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.5557, allocations: 15.97 kB / 0.702 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001967/0.5559, allocations: 12.84 kB / 0.702 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.205e-05/0.556, allocations: 164.4 kB / 0.7022 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.556, allocations: 3.938 kB / 0.7022 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.556, allocations: 11.94 kB / 0.7022 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.5562, allocations: 57.59 kB / 0.7023 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.5562, allocations: 4 kB / 0.7023 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.5562, allocations: 0 / 0.7023 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.5562, allocations: 4 kB / 0.7023 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.611e-05/0.5562, allocations: 15.98 kB / 0.7023 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001614/0.5564, allocations: 173.5 kB / 0.7024 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.251e-05/0.5565, allocations: 50.5 kB / 0.7025 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.792e-05/0.5565, allocations: 12.86 kB / 0.7025 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.5566, allocations: 4 kB / 0.7025 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.5566, allocations: 34.56 kB / 0.7025 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.5566, allocations: 0 / 0.7025 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0007012/0.5573, allocations: 382.8 kB / 0.7029 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.5573, allocations: 55.41 kB / 0.703 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.043e-05/0.5574, allocations: 93.86 kB / 0.7031 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.5574, allocations: 29.7 kB / 0.7031 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.191e-05/0.5575, allocations: 84.14 kB / 0.7032 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/0.5575, allocations: 35.45 kB / 0.7032 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.5575, allocations: 21.7 kB / 0.7032 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.779e-05/0.5576, allocations: 318.8 kB / 0.7035 GB, free: 316 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.49e-05/0.5577, allocations: 23.92 kB / 0.7035 GB, free: 292 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.998e-05/0.5577, allocations: 33.7 kB / 0.7036 GB, free: 252 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.159e-05/0.5578, allocations: 57.84 kB / 0.7036 GB, free: 188 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.5578, allocations: 0 / 0.7036 GB, free: 188 kB / 0.5294 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001265/0.558, allocations: 101.5 kB / 0.7037 GB, free: 80 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.558, allocations: 6.188 kB / 0.7037 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.558, allocations: 0.7031 kB / 0.7037 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.558, allocations: 4 kB / 0.7037 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.5581, allocations: 24 kB / 0.7038 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.5581, allocations: 4 kB / 0.7038 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.044e-05/0.5582, allocations: 0 / 0.7038 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.5582, allocations: 4 kB / 0.7038 GB, free: 40 kB / 0.5294 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.485e-05/0.5583, allocations: 125.7 kB / 0.7039 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.5583, allocations: 8 kB / 0.7039 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.569e-05/0.5584, allocations: 11.91 kB / 0.7039 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.5584, allocations: 4 kB / 0.7039 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.5584, allocations: 0 / 0.7039 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.5584, allocations: 0 / 0.7039 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.5585, allocations: 173.6 kB / 0.7041 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.5585, allocations: 0 / 0.7041 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.5586, allocations: 23.98 kB / 0.7041 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.5586, allocations: 4 kB / 0.7041 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.5587, allocations: 4 kB / 0.7041 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.5587, allocations: 7.938 kB / 0.7041 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5587, allocations: 0 / 0.7041 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.5589, allocations: 135.2 kB / 0.7042 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.5589, allocations: 89.08 kB / 0.7043 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.559, allocations: 4 kB / 0.7043 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.879e-05/0.5591, allocations: 0 / 0.7043 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.5591, allocations: 15.98 kB / 0.7043 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.5591, allocations: 4 kB / 0.7043 GB, free: 15.35 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.105e-05/0.5591, allocations: 75.28 kB / 0.7044 GB, free: 15.27 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5591, allocations: 0 / 0.7044 GB, free: 15.27 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001908/0.5593, allocations: 19.94 kB / 0.7044 GB, free: 15.25 MB / 0.545 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 8.878e-05/0.5594, allocations: 95.25 kB / 0.7045 GB, free: 15.15 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.5596, allocations: 63.89 kB / 0.7046 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5596, allocations: 4.094 kB / 0.7046 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.597e-05/0.5596, allocations: 27.94 kB / 0.7046 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.5598, allocations: 11.98 kB / 0.7046 GB, free: 15.04 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005592/0.5604, allocations: 420.1 kB / 0.705 GB, free: 14.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.5607, allocations: 0.6848 MB / 0.7057 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.5607, allocations: 11.44 kB / 0.7057 GB, free: 13.88 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.5607, allocations: 0 / 0.7057 GB, free: 13.88 MB / 0.545 GB Notification: Performance of Templates: time 0.002104/0.5628, allocations: 0.8142 MB / 0.7065 GB, free: 13.07 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)