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.0009019/0.0009019, allocations: 97.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009222/0.0009222, allocations: 175.1 kB / 16.57 MB, free: 6.398 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.326/1.326, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6888/0.6888, allocations: 113.8 MB / 405.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003227, allocations: 8.906 kB / 493 MB, free: 8.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.138, allocations: 77.15 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.0013/0.1394, allocations: 0.9649 MB / 0.5578 GB, free: 10.63 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4092/0.5486, allocations: 124.3 MB / 0.6792 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.935e-05/0.5486, allocations: 0.5625 kB / 0.6792 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.445e-05/0.5486, allocations: 0 / 0.6792 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.288e-05/0.5487, allocations: 3.984 kB / 0.6792 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003415/0.549, allocations: 87.7 kB / 0.6792 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.989e-05/0.5491, allocations: 15.98 kB / 0.6793 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.15e-05/0.5491, allocations: 7.984 kB / 0.6793 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.316e-05/0.5492, allocations: 19.88 kB / 0.6793 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.049e-05/0.5492, allocations: 15.97 kB / 0.6793 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.5493, allocations: 0 / 0.6793 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002476/0.5495, allocations: 79.83 kB / 0.6794 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.5495, allocations: 11.97 kB / 0.6794 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.999e-05/0.5496, allocations: 33.64 kB / 0.6794 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.5497, allocations: 46.55 kB / 0.6795 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.5497, allocations: 0 / 0.6795 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5497, allocations: 0 / 0.6795 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.025e-06/0.5497, allocations: 0 / 0.6795 GB, free: 12.41 MB / 0.4981 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.0003013/0.55, allocations: 347 kB / 0.6798 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.55, allocations: 8.031 kB / 0.6798 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/0.5502, allocations: 12.61 kB / 0.6798 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.738e-05/0.5503, allocations: 159.1 kB / 0.68 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.5503, allocations: 4 kB / 0.68 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.5504, allocations: 11.86 kB / 0.68 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.5505, allocations: 53.67 kB / 0.68 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.5505, allocations: 7.938 kB / 0.68 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.5505, allocations: 0 / 0.68 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.5505, allocations: 4 kB / 0.68 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.236e-05/0.5506, allocations: 15.98 kB / 0.6801 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.5507, allocations: 161.6 kB / 0.6802 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.185e-05/0.5508, allocations: 47.44 kB / 0.6803 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.5508, allocations: 0 / 0.6803 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.5509, allocations: 42.52 kB / 0.6803 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.793e-06/0.5509, allocations: 0 / 0.6803 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0006331/0.5515, allocations: 377.8 kB / 0.6807 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.5516, allocations: 55.34 kB / 0.6807 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.29e-05/0.5516, allocations: 93.86 kB / 0.6808 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.5516, allocations: 29.7 kB / 0.6808 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.702e-05/0.5517, allocations: 84.27 kB / 0.6809 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.5517, allocations: 35.45 kB / 0.6809 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/0.5517, allocations: 8 kB / 0.681 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.844e-05/0.5518, allocations: 314.8 kB / 0.6813 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.152e-05/0.5519, allocations: 16 kB / 0.6813 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.41e-05/0.5519, allocations: 37.7 kB / 0.6813 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.259e-05/0.5519, allocations: 24.53 kB / 0.6813 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.552, allocations: 4 kB / 0.6813 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001284/0.5521, allocations: 109.5 kB / 0.6814 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.5521, allocations: 4 kB / 0.6814 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.5521, allocations: 0 / 0.6814 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.5521, allocations: 4 kB / 0.6814 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.5523, allocations: 27.86 kB / 0.6815 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.5523, allocations: 4 kB / 0.6815 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.212e-05/0.5523, allocations: 0.875 kB / 0.6815 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.5523, allocations: 8 kB / 0.6815 GB, free: 10.08 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.671e-05/0.5524, allocations: 115.6 kB / 0.6816 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.5524, allocations: 7.953 kB / 0.6816 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.5524, allocations: 7.969 kB / 0.6816 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.5525, allocations: 4 kB / 0.6816 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.5525, allocations: 0 / 0.6816 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.5525, allocations: 0 / 0.6816 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.5526, allocations: 171.5 kB / 0.6818 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5526, allocations: 0 / 0.6818 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.5527, allocations: 31.92 kB / 0.6818 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.5527, allocations: 3.953 kB / 0.6818 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.5527, allocations: 0 / 0.6818 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.5528, allocations: 8 kB / 0.6818 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5528, allocations: 0 / 0.6818 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.5529, allocations: 129 kB / 0.6819 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.095e-05/0.553, allocations: 85.14 kB / 0.682 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.553, allocations: 3.953 kB / 0.682 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.421e-05/0.5531, allocations: 8 kB / 0.682 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.917e-05/0.5532, allocations: 7.984 kB / 0.682 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-06/0.5532, allocations: 4 kB / 0.682 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.089e-05/0.5532, allocations: 79.28 kB / 0.6821 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5532, allocations: 0 / 0.6821 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001942/0.5534, allocations: 16 kB / 0.6821 GB, free: 9.324 MB / 0.4981 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 (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 8.211e-05/0.5535, allocations: 108 kB / 0.6822 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00012/0.5536, allocations: 55.91 kB / 0.6823 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5536, allocations: 3.938 kB / 0.6823 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.464e-05/0.5537, allocations: 24.08 kB / 0.6823 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.5538, allocations: 12 kB / 0.6823 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005034/0.5543, allocations: 385.8 kB / 0.6827 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.5545, allocations: 0.6926 MB / 0.6834 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.784e-05/0.5546, allocations: 8.672 kB / 0.6834 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.5546, allocations: 11.44 kB / 0.6834 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of SimCode: time 1.483e-06/0.5546, allocations: 0 / 0.6834 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of Templates: time 0.002232/0.5569, allocations: 0.5797 MB / 0.684 GB, free: 7.402 MB / 0.4981 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)