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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7216/0.7216, allocations: 128.7 MB / 144.5 MB, free: 1.422 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 182.9 kB / 174.2 MB, free: 5.953 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205 MB / 408.9 MB, free: 9.707 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009718/0.0009715, allocations: 108.6 kB / 485.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009742/0.0009742, allocations: 53.36 kB / 0.558 GB, free: 97.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1268, allocations: 75.48 MB / 0.6317 GB, free: 33.07 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002141/0.129, allocations: 1.328 MB / 0.633 GB, free: 31.72 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4244/0.5534, allocations: 144.7 MB / 0.7743 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.104e-05/0.5535, allocations: 0 / 0.7743 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.342e-05/0.5536, allocations: 2.484 kB / 0.7743 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.277e-05/0.5537, allocations: 1.812 kB / 0.7743 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003462/0.554, allocations: 87.78 kB / 0.7744 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 6.468e-05/0.5541, allocations: 30.5 kB / 0.7744 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.914e-05/0.5541, allocations: 6.906 kB / 0.7744 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.915e-05/0.5542, allocations: 18.94 kB / 0.7744 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.267e-05/0.5543, allocations: 16.39 kB / 0.7744 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.5543, allocations: 2.156 kB / 0.7744 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002484/0.5545, allocations: 77.72 kB / 0.7745 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.5546, allocations: 6.672 kB / 0.7745 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.165e-05/0.5546, allocations: 16.72 kB / 0.7745 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.5547, allocations: 62.22 kB / 0.7746 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5548, allocations: 1.203 kB / 0.7746 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5548, allocations: 7.938 kB / 0.7746 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.5548, allocations: 0 / 0.7746 GB, free: 14.09 MB / 0.5261 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.0004009/0.5552, allocations: 351.9 kB / 0.7749 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.5552, allocations: 14.86 kB / 0.775 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001924/0.5554, allocations: 15.33 kB / 0.775 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.164e-05/0.5555, allocations: 164.5 kB / 0.7751 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.5555, allocations: 6.5 kB / 0.7751 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.5556, allocations: 5.875 kB / 0.7751 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.5557, allocations: 55.61 kB / 0.7752 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.5557, allocations: 0 / 0.7752 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.5557, allocations: 3.438 kB / 0.7752 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.5557, allocations: 1.812 kB / 0.7752 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.814e-05/0.5558, allocations: 19.05 kB / 0.7752 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/0.556, allocations: 161 kB / 0.7754 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.382e-05/0.556, allocations: 57.91 kB / 0.7754 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.693e-05/0.5561, allocations: 14.36 kB / 0.7754 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.5561, allocations: 4 kB / 0.7754 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.5561, allocations: 37.62 kB / 0.7755 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.5561, allocations: 0 / 0.7755 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0006614/0.5568, allocations: 373.1 kB / 0.7758 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.5568, allocations: 53.81 kB / 0.7759 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.567e-05/0.5569, allocations: 93.86 kB / 0.776 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.5569, allocations: 31.8 kB / 0.776 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.798e-05/0.557, allocations: 80.14 kB / 0.7761 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/0.557, allocations: 39.22 kB / 0.7761 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/0.5571, allocations: 30.25 kB / 0.7762 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.981e-05/0.5571, allocations: 316.9 kB / 0.7765 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.259e-05/0.5572, allocations: 18.92 kB / 0.7765 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.481e-05/0.5572, allocations: 40.75 kB / 0.7765 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.401e-05/0.5573, allocations: 61.19 kB / 0.7766 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5573, allocations: 0.5625 kB / 0.7766 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001151/0.5574, allocations: 100.7 kB / 0.7767 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.5575, allocations: 5.031 kB / 0.7767 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.5575, allocations: 0 / 0.7767 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.5575, allocations: 5.75 kB / 0.7767 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.5576, allocations: 21.06 kB / 0.7767 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.5576, allocations: 2.719 kB / 0.7767 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.135e-05/0.5577, allocations: 7.688 kB / 0.7767 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.5577, allocations: 5.25 kB / 0.7767 GB, free: 12.24 MB / 0.5261 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 7.363e-05/0.5577, allocations: 119.2 kB / 0.7768 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.5578, allocations: 7.203 kB / 0.7768 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.531e-05/0.5578, allocations: 11.22 kB / 0.7768 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.5578, allocations: 10.81 kB / 0.7769 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5578, allocations: 0.75 kB / 0.7769 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.5578, allocations: 0 / 0.7769 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.558, allocations: 172.1 kB / 0.777 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.558, allocations: 4 kB / 0.777 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.5581, allocations: 22.62 kB / 0.777 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.5581, allocations: 3.344 kB / 0.777 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-06/0.5581, allocations: 4.969 kB / 0.7771 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.5581, allocations: 0 / 0.7771 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.5581, allocations: 0 / 0.7771 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.5591, allocations: 1.097 MB / 0.7781 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.142e-05/0.5592, allocations: 86.52 kB / 0.7782 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.5592, allocations: 3.75 kB / 0.7782 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.141e-05/0.5593, allocations: 8.703 kB / 0.7782 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.005e-05/0.5593, allocations: 5.672 kB / 0.7782 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.5594, allocations: 10.09 kB / 0.7782 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.805e-05/0.5594, allocations: 77.75 kB / 0.7783 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5594, allocations: 0 / 0.7783 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002524/0.5597, allocations: 19.16 kB / 0.7783 GB, free: 10.81 MB / 0.5261 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.0001008/0.5598, allocations: 102.2 kB / 0.7784 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001123/0.5599, allocations: 55.14 kB / 0.7785 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5599, allocations: 3.938 kB / 0.7785 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.432e-05/0.5599, allocations: 30.31 kB / 0.7785 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.5602, allocations: 10.58 kB / 0.7785 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005937/0.5608, allocations: 477.6 kB / 0.779 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.561, allocations: 0.6906 MB / 0.7796 GB, free: 9.633 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.914e-05/0.561, allocations: 10.19 kB / 0.7797 GB, free: 9.629 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.476e-05/0.5611, allocations: 12.41 kB / 0.7797 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of SimCode: time 1.092e-06/0.5611, allocations: 0 / 0.7797 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of Templates: time 0.002376/0.5635, allocations: 0.673 MB / 0.7803 GB, free: 9.547 MB / 0.5261 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)