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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009784/0.0009785, allocations: 172.5 kB / 16.76 MB, free: 4.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4838/0.4838, allocations: 86.27 MB / 103.8 MB, free: 14.57 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.3 MB / 348.4 MB, free: 4.965 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008704/0.0008705, allocations: 95.23 kB / 420.2 MB, free: 9.648 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003528, allocations: 15.98 kB / 0.4901 GB, free: 7.996 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3115, allocations: 71.01 MB / 0.5594 GB, free: 43.71 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.316/9.628, allocations: 4.141 GB / 4.7 GB, free: 36.46 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/9.628, allocations: 83.95 kB / 4.7 GB, free: 36.38 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.3576/9.986, allocations: 36.66 MB / 4.736 GB, free: 201.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.226e-06/9.986, allocations: 0.5312 kB / 4.736 GB, free: 201.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.504e-06/9.986, allocations: 4.25 kB / 4.736 GB, free: 201.7 MB / 0.5886 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.0003805/9.986, allocations: 348.9 kB / 4.736 GB, free: 201.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/9.986, allocations: 12 kB / 4.736 GB, free: 201.4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001865/9.986, allocations: 16.72 kB / 4.736 GB, free: 201.4 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.901e-05/9.986, allocations: 164.1 kB / 4.736 GB, free: 201.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/9.986, allocations: 4.844 kB / 4.736 GB, free: 201.2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/9.986, allocations: 5.031 kB / 4.736 GB, free: 201.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/9.987, allocations: 57.64 kB / 4.736 GB, free: 201.1 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/9.987, allocations: 0.8438 kB / 4.736 GB, free: 201.1 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/9.987, allocations: 5.125 kB / 4.737 GB, free: 201.1 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/9.987, allocations: 0 / 4.737 GB, free: 201.1 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.622e-05/9.987, allocations: 21.33 kB / 4.737 GB, free: 201.1 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/9.987, allocations: 163.1 kB / 4.737 GB, free: 200.9 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/9.987, allocations: 46.98 kB / 4.737 GB, free: 200.9 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.983e-05/9.987, allocations: 18.12 kB / 4.737 GB, free: 200.9 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/9.987, allocations: 2.906 kB / 4.737 GB, free: 200.9 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/9.987, allocations: 34.33 kB / 4.737 GB, free: 200.9 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/9.987, allocations: 0 / 4.737 GB, free: 200.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0008094/9.988, allocations: 379.4 kB / 4.737 GB, free: 200.6 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/9.988, allocations: 53.78 kB / 4.737 GB, free: 200.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.589e-05/9.988, allocations: 98.09 kB / 4.737 GB, free: 200.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/9.988, allocations: 26.61 kB / 4.737 GB, free: 200.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.047e-05/9.988, allocations: 82.61 kB / 4.737 GB, free: 200.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.894e-05/9.988, allocations: 37.05 kB / 4.737 GB, free: 200.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/9.988, allocations: 3.156 kB / 4.737 GB, free: 200.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.737e-05/9.988, allocations: 317.9 kB / 4.738 GB, free: 200 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.368e-05/9.988, allocations: 18.23 kB / 4.738 GB, free: 200 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.943e-05/9.988, allocations: 37.97 kB / 4.738 GB, free: 200 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/9.988, allocations: 58.34 kB / 4.738 GB, free: 200 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/9.988, allocations: 1.516 kB / 4.738 GB, free: 200 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001515/9.989, allocations: 104 kB / 4.738 GB, free: 199.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/9.989, allocations: 5.062 kB / 4.738 GB, free: 199.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/9.989, allocations: 1.297 kB / 4.738 GB, free: 199.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/9.989, allocations: 0.5938 kB / 4.738 GB, free: 199.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/9.989, allocations: 25.61 kB / 4.738 GB, free: 199.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.577e-06/9.989, allocations: 3.312 kB / 4.738 GB, free: 199.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.201e-05/9.989, allocations: 4.906 kB / 4.738 GB, free: 199.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/9.989, allocations: 3.922 kB / 4.738 GB, free: 199.9 MB / 0.5886 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 7.081e-05/9.989, allocations: 112.2 kB / 4.738 GB, free: 199.8 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/9.989, allocations: 11.84 kB / 4.738 GB, free: 199.8 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.29e-05/9.989, allocations: 15.03 kB / 4.738 GB, free: 199.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/9.989, allocations: 5.375 kB / 4.738 GB, free: 199.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/9.989, allocations: 0.875 kB / 4.738 GB, free: 199.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/9.989, allocations: 0.7969 kB / 4.738 GB, free: 199.8 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/9.989, allocations: 170.5 kB / 4.738 GB, free: 199.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/9.989, allocations: 4.5 kB / 4.738 GB, free: 199.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/9.989, allocations: 26.56 kB / 4.738 GB, free: 199.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/9.989, allocations: 1.594 kB / 4.738 GB, free: 199.6 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/9.989, allocations: 3.531 kB / 4.738 GB, free: 199.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/9.989, allocations: 0.6094 kB / 4.738 GB, free: 199.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/9.989, allocations: 0.9688 kB / 4.738 GB, free: 199.6 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/9.989, allocations: 139.3 kB / 4.738 GB, free: 199.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.433e-05/9.99, allocations: 87.06 kB / 4.739 GB, free: 199.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/9.99, allocations: 3.469 kB / 4.739 GB, free: 199.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-05/9.99, allocations: 6.281 kB / 4.739 GB, free: 199.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/9.99, allocations: 7.703 kB / 4.739 GB, free: 199.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/9.99, allocations: 5.75 kB / 4.739 GB, free: 199.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.425e-05/9.99, allocations: 77.69 kB / 4.739 GB, free: 199.4 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.51e-07/9.99, allocations: 0 / 4.739 GB, free: 199.4 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003572/9.99, allocations: 54.08 kB / 4.739 GB, free: 199.4 MB / 0.5886 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 0.0009472/9.991, allocations: 0.5636 MB / 4.739 GB, free: 199.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001633/9.991, allocations: 56.81 kB / 4.739 GB, free: 199.3 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/9.991, allocations: 1.656 kB / 4.739 GB, free: 199.3 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.811e-05/9.991, allocations: 26.98 kB / 4.739 GB, free: 199.3 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/9.992, allocations: 19.06 kB / 4.739 GB, free: 199.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006822/9.992, allocations: 387.6 kB / 4.74 GB, free: 199.1 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001608/9.992, allocations: 0.6889 MB / 4.74 GB, free: 198.4 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.575e-05/9.992, allocations: 9.969 kB / 4.74 GB, free: 198.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.618e-05/9.993, allocations: 11.94 kB / 4.74 GB, free: 198.4 MB / 0.5886 GB Notification: Performance of SimCode: time 2.4e-07/9.993, allocations: 0 / 4.74 GB, free: 198.4 MB / 0.5886 GB Notification: Performance of Templates: time 0.01273/10.01, allocations: 8.07 MB / 4.748 GB, free: 197.8 MB / 0.5886 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)