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.001123/0.001123, allocations: 109.4 kB / 16.41 MB, free: 6.445 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.001182/0.001182, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.773/0.773, allocations: 122.9 MB / 414.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 56.03 kB / 0.5685 GB, free: 28.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1646, allocations: 77.95 MB / 0.6446 GB, free: 9.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002858/0.1675, allocations: 1.262 MB / 0.6458 GB, free: 7.738 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5791/0.7466, allocations: 147 MB / 0.7894 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.112e-05/0.7467, allocations: 4.938 kB / 0.7894 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.097e-05/0.7468, allocations: 5.719 kB / 0.7894 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.771e-05/0.7469, allocations: 3.625 kB / 0.7894 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004272/0.7473, allocations: 92.92 kB / 0.7895 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.222e-05/0.7474, allocations: 36.62 kB / 0.7895 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.954e-05/0.7474, allocations: 2.312 kB / 0.7895 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.812e-05/0.7475, allocations: 15.66 kB / 0.7895 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.484e-05/0.7476, allocations: 17.61 kB / 0.7895 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.7476, allocations: 6.281 kB / 0.7895 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002646/0.7479, allocations: 76.88 kB / 0.7896 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.7479, allocations: 9.656 kB / 0.7896 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.383e-05/0.7479, allocations: 15.23 kB / 0.7896 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.7481, allocations: 64.52 kB / 0.7897 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.7481, allocations: 1.125 kB / 0.7897 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7481, allocations: 1.203 kB / 0.7897 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.595e-06/0.7481, allocations: 0 / 0.7897 GB, free: 13.74 MB / 0.5919 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.0004478/0.7486, allocations: 358.9 kB / 0.79 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.7486, allocations: 14.72 kB / 0.79 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/0.7488, allocations: 11.19 kB / 0.7901 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.749, allocations: 164.5 kB / 0.7902 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.749, allocations: 8.906 kB / 0.7902 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.749, allocations: 7.609 kB / 0.7902 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.7492, allocations: 53.58 kB / 0.7903 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.7492, allocations: 1.344 kB / 0.7903 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.7492, allocations: 0 / 0.7903 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.7492, allocations: 1.5 kB / 0.7903 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.199e-05/0.7493, allocations: 28.64 kB / 0.7903 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/0.7495, allocations: 160.1 kB / 0.7905 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.232e-05/0.7496, allocations: 51.75 kB / 0.7905 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.382e-05/0.7496, allocations: 17.7 kB / 0.7905 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.7496, allocations: 1.531 kB / 0.7905 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.7497, allocations: 35.47 kB / 0.7906 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.7497, allocations: 4 kB / 0.7906 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0007854/0.7505, allocations: 373 kB / 0.7909 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.7505, allocations: 54.64 kB / 0.791 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.28e-05/0.7506, allocations: 91.23 kB / 0.7911 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.7506, allocations: 30.58 kB / 0.7911 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.96e-05/0.7507, allocations: 80.14 kB / 0.7912 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.335e-05/0.7507, allocations: 44.36 kB / 0.7912 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-05/0.7508, allocations: 33.89 kB / 0.7912 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.7509, allocations: 318.8 kB / 0.7916 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.082e-05/0.7509, allocations: 20.08 kB / 0.7916 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.967e-05/0.751, allocations: 32.5 kB / 0.7916 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.957e-05/0.7511, allocations: 62.3 kB / 0.7917 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.7511, allocations: 1.375 kB / 0.7917 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001352/0.7512, allocations: 95.48 kB / 0.7918 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.7513, allocations: 6.516 kB / 0.7918 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.7513, allocations: 1.375 kB / 0.7918 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.7513, allocations: 1.375 kB / 0.7918 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.7514, allocations: 23.59 kB / 0.7918 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.7514, allocations: 1.375 kB / 0.7918 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.289e-05/0.7515, allocations: 5 kB / 0.7918 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.7515, allocations: 2.75 kB / 0.7918 GB, free: 11.89 MB / 0.5919 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.452e-05/0.7516, allocations: 118.3 kB / 0.7919 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.614e-05/0.7516, allocations: 11.8 kB / 0.7919 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.121e-05/0.7517, allocations: 12.22 kB / 0.7919 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.7517, allocations: 5.359 kB / 0.7919 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.7517, allocations: 3.375 kB / 0.7919 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.7517, allocations: 0 / 0.7919 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.7518, allocations: 176.3 kB / 0.7921 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.7518, allocations: 0 / 0.7921 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.752, allocations: 26.83 kB / 0.7921 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.752, allocations: 0 / 0.7921 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.752, allocations: 2.203 kB / 0.7921 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.752, allocations: 5.25 kB / 0.7921 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.752, allocations: 0 / 0.7921 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.7522, allocations: 135.7 kB / 0.7923 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.235e-05/0.7523, allocations: 85.41 kB / 0.7923 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.7523, allocations: 11.69 kB / 0.7924 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.244e-05/0.7524, allocations: 2.344 kB / 0.7924 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-05/0.7524, allocations: 4.766 kB / 0.7924 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.7525, allocations: 7.562 kB / 0.7924 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.596e-05/0.7525, allocations: 87.25 kB / 0.7925 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7525, allocations: 0 / 0.7925 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001981/0.7527, allocations: 15.34 kB / 0.7925 GB, free: 11.3 MB / 0.5919 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.0001088/0.7528, allocations: 106 kB / 0.7926 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001609/0.753, allocations: 62.27 kB / 0.7926 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.753, allocations: 0 / 0.7926 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.393e-05/0.7531, allocations: 26.72 kB / 0.7927 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.7533, allocations: 11.25 kB / 0.7927 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005974/0.7539, allocations: 324.5 kB / 0.793 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.7542, allocations: 0.6867 MB / 0.7936 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.314e-05/0.7542, allocations: 11.3 kB / 0.7937 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.7542, allocations: 13.28 kB / 0.7937 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of SimCode: time 2.11e-07/0.7543, allocations: 0 / 0.7937 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of Templates: time 0.002681/0.7569, allocations: 0.6483 MB / 0.7943 GB, free: 10.17 MB / 0.5919 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)