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.7291/0.7291, allocations: 128.7 MB / 143.7 MB, free: 2.316 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.001135/0.001136, allocations: 196.5 kB / 173.8 MB, free: 6.105 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.601/1.601, allocations: 205.4 MB / 409 MB, free: 10.5 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.0009076/0.0009077, allocations: 102.8 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000409/0.0004092, allocations: 13.88 kB / 0.5604 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1753, allocations: 76.76 MB / 0.6353 GB, free: 30.55 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.82/12, allocations: 4.566 GB / 5.202 GB, free: 74.89 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/12, allocations: 88.55 kB / 5.202 GB, free: 74.81 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06606/12.06, allocations: 36.94 MB / 5.238 GB, free: 37.45 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.356e-06/12.06, allocations: 0 / 5.238 GB, free: 37.45 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.614e-06/12.06, allocations: 4 kB / 5.238 GB, free: 37.45 MB / 0.6511 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.0003278/12.06, allocations: 347.3 kB / 5.238 GB, free: 37.06 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/12.06, allocations: 15.97 kB / 5.238 GB, free: 37.04 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002008/12.06, allocations: 12.62 kB / 5.238 GB, free: 37.03 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.825e-05/12.06, allocations: 163.1 kB / 5.238 GB, free: 36.83 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/12.06, allocations: 4 kB / 5.238 GB, free: 36.83 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/12.06, allocations: 11.86 kB / 5.238 GB, free: 36.82 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/12.06, allocations: 49.69 kB / 5.238 GB, free: 36.76 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/12.06, allocations: 0 / 5.238 GB, free: 36.76 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/12.06, allocations: 0 / 5.238 GB, free: 36.76 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/12.06, allocations: 4 kB / 5.238 GB, free: 36.76 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.783e-05/12.06, allocations: 19.92 kB / 5.238 GB, free: 36.74 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/12.06, allocations: 165.7 kB / 5.239 GB, free: 36.53 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.003e-05/12.06, allocations: 54.48 kB / 5.239 GB, free: 36.46 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/12.06, allocations: 0 / 5.239 GB, free: 36.46 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/12.06, allocations: 38.52 kB / 5.239 GB, free: 36.42 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/12.06, allocations: 0 / 5.239 GB, free: 36.42 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0007019/12.06, allocations: 374.3 kB / 5.239 GB, free: 36 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/12.06, allocations: 55.39 kB / 5.239 GB, free: 35.93 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.864e-05/12.06, allocations: 89 kB / 5.239 GB, free: 35.84 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/12.06, allocations: 29.7 kB / 5.239 GB, free: 35.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 2.18e-05/12.06, allocations: 80.14 kB / 5.239 GB, free: 35.72 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/12.06, allocations: 35.45 kB / 5.239 GB, free: 35.69 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/12.06, allocations: 0 / 5.239 GB, free: 35.69 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 5.366e-05/12.06, allocations: 319 kB / 5.24 GB, free: 35.37 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.89e-05/12.07, allocations: 19.98 kB / 5.24 GB, free: 35.35 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.243e-05/12.07, allocations: 41.7 kB / 5.24 GB, free: 35.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.883e-05/12.07, allocations: 20 kB / 5.24 GB, free: 35.28 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/12.07, allocations: 0 / 5.24 GB, free: 35.28 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001087/12.07, allocations: 105.5 kB / 5.24 GB, free: 35.17 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/12.07, allocations: 4 kB / 5.24 GB, free: 35.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/12.07, allocations: 0 / 5.24 GB, free: 35.17 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/12.07, allocations: 7.938 kB / 5.24 GB, free: 35.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/12.07, allocations: 19.98 kB / 5.24 GB, free: 35.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/12.07, allocations: 7.938 kB / 5.24 GB, free: 35.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.199e-05/12.07, allocations: 4 kB / 5.24 GB, free: 35.13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/12.07, allocations: 0 / 5.24 GB, free: 35.13 MB / 0.6511 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.695e-05/12.07, allocations: 117.8 kB / 5.24 GB, free: 35 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/12.07, allocations: 7.953 kB / 5.24 GB, free: 35 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.843e-05/12.07, allocations: 11.95 kB / 5.24 GB, free: 34.99 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/12.07, allocations: 0 / 5.24 GB, free: 34.99 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/12.07, allocations: 4 kB / 5.24 GB, free: 34.98 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/12.07, allocations: 7.984 kB / 5.24 GB, free: 34.98 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/12.07, allocations: 169.6 kB / 5.24 GB, free: 34.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/12.07, allocations: 7.938 kB / 5.24 GB, free: 34.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/12.07, allocations: 20 kB / 5.24 GB, free: 34.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/12.07, allocations: 0 / 5.24 GB, free: 34.73 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/12.07, allocations: 11.89 kB / 5.24 GB, free: 34.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/12.07, allocations: 4.688 kB / 5.24 GB, free: 34.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/12.07, allocations: 4 kB / 5.24 GB, free: 34.71 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001731/12.07, allocations: 136.5 kB / 5.24 GB, free: 34.57 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.872e-05/12.07, allocations: 85.14 kB / 5.24 GB, free: 34.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/12.07, allocations: 0 / 5.24 GB, free: 34.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.575e-05/12.07, allocations: 11.95 kB / 5.24 GB, free: 34.45 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/12.07, allocations: 7.984 kB / 5.24 GB, free: 34.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/12.07, allocations: 0 / 5.24 GB, free: 34.45 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 2.132e-05/12.07, allocations: 75.28 kB / 5.241 GB, free: 34.37 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/12.07, allocations: 4 kB / 5.241 GB, free: 34.37 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003266/12.07, allocations: 51.98 kB / 5.241 GB, free: 34.32 MB / 0.6511 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.0006406/12.07, allocations: 0.5678 MB / 5.241 GB, free: 33.74 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001137/12.07, allocations: 51.98 kB / 5.241 GB, free: 33.69 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/12.07, allocations: 0 / 5.241 GB, free: 33.69 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.489e-05/12.07, allocations: 35.86 kB / 5.241 GB, free: 33.66 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/12.07, allocations: 7.062 kB / 5.241 GB, free: 33.65 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005102/12.07, allocations: 391 kB / 5.242 GB, free: 33.24 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001464/12.07, allocations: 0.6926 MB / 5.242 GB, free: 32.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.87e-05/12.07, allocations: 12.66 kB / 5.242 GB, free: 32.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.057e-05/12.07, allocations: 11.44 kB / 5.242 GB, free: 32.49 MB / 0.6511 GB Notification: Performance of SimCode: time 2.2e-07/12.07, allocations: 0 / 5.242 GB, free: 32.49 MB / 0.6511 GB Notification: Performance of Templates: time 0.01003/12.08, allocations: 8.037 MB / 5.25 GB, free: 24.45 MB / 0.6511 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)