Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.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.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7573/0.7573, allocations: 127.4 MB / 134.9 MB, free: 3.441 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.001037/0.001037, allocations: 189.5 kB / 164.6 MB, free: 11.6 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.72/1.72, allocations: 205.2 MB / 399.5 MB, free: 13.54 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.0008113/0.0008113, allocations: 98.38 kB / 476.7 MB, free: 1.523 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.559e-05/1.561e-05, allocations: 0 / 0.5465 GB, free: 95.44 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1502, allocations: 76.77 MB / 0.6215 GB, free: 43.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.172/5.323, allocations: 2.164 GB / 2.786 GB, free: 185.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001861/5.323, allocations: 72 kB / 2.786 GB, free: 185.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05839/5.381, allocations: 29.65 MB / 2.815 GB, free: 181.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.855e-06/5.381, allocations: 7.219 kB / 2.815 GB, free: 181.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.651e-06/5.381, allocations: 0 / 2.815 GB, free: 181.2 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003725/5.382, allocations: 373.1 kB / 2.815 GB, free: 180.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/5.382, allocations: 9.594 kB / 2.815 GB, free: 180.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003724/5.382, allocations: 41.77 kB / 2.815 GB, free: 180.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.736e-05/5.382, allocations: 166.9 kB / 2.815 GB, free: 180.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/5.382, allocations: 0 / 2.815 GB, free: 180.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/5.382, allocations: 11.5 kB / 2.815 GB, free: 180.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000119/5.383, allocations: 36.02 kB / 2.815 GB, free: 180.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/5.383, allocations: 67.62 kB / 2.815 GB, free: 180.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/5.383, allocations: 0 / 2.815 GB, free: 180.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/5.383, allocations: 3.938 kB / 2.815 GB, free: 180.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/5.383, allocations: 3.875 kB / 2.815 GB, free: 180.6 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001513/5.383, allocations: 160.3 kB / 2.815 GB, free: 180.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/5.383, allocations: 83.88 kB / 2.816 GB, free: 180.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.809e-05/5.383, allocations: 22.22 kB / 2.816 GB, free: 180.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001933/5.383, allocations: 178.8 kB / 2.816 GB, free: 180.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/5.383, allocations: 38.44 kB / 2.816 GB, free: 180.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=12): time 1.743e-06/5.383, allocations: 0 / 2.816 GB, free: 180.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19): time 0.001236/5.385, allocations: 489.2 kB / 2.816 GB, free: 179.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/5.385, allocations: 59.23 kB / 2.816 GB, free: 179.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.948e-05/5.385, allocations: 85 kB / 2.816 GB, free: 179.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/5.385, allocations: 29.58 kB / 2.816 GB, free: 179.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 1.881e-05/5.385, allocations: 84.64 kB / 2.817 GB, free: 179.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/5.385, allocations: 68.11 kB / 2.817 GB, free: 179.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/5.385, allocations: 0 / 2.817 GB, free: 179.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 4.903e-05/5.385, allocations: 318.5 kB / 2.817 GB, free: 179.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.486e-05/5.385, allocations: 30.12 kB / 2.817 GB, free: 179.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.696e-05/5.385, allocations: 65.58 kB / 2.817 GB, free: 179.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.373e-05/5.385, allocations: 39.64 kB / 2.817 GB, free: 179.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/5.385, allocations: 4 kB / 2.817 GB, free: 179.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001653/5.385, allocations: 131.7 kB / 2.817 GB, free: 179.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/5.385, allocations: 5.812 kB / 2.817 GB, free: 179.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/5.385, allocations: 3.875 kB / 2.817 GB, free: 179.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/5.385, allocations: 0 / 2.817 GB, free: 179.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/5.385, allocations: 43.48 kB / 2.817 GB, free: 179.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/5.385, allocations: 4 kB / 2.817 GB, free: 179.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.547e-05/5.385, allocations: 7.953 kB / 2.817 GB, free: 179.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/5.385, allocations: 7.75 kB / 2.817 GB, free: 179.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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.015e-05/5.386, allocations: 108.9 kB / 2.817 GB, free: 179.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.864e-05/5.386, allocations: 7.781 kB / 2.817 GB, free: 179.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.552e-05/5.386, allocations: 18.81 kB / 2.817 GB, free: 179.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/5.386, allocations: 3.875 kB / 2.817 GB, free: 179.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/5.386, allocations: 0 / 2.817 GB, free: 179.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/5.386, allocations: 3.984 kB / 2.817 GB, free: 179 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/5.386, allocations: 162.8 kB / 2.818 GB, free: 178.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/5.386, allocations: 3.938 kB / 2.818 GB, free: 178.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/5.386, allocations: 38.09 kB / 2.818 GB, free: 178.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/5.386, allocations: 3.875 kB / 2.818 GB, free: 178.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/5.386, allocations: 7.938 kB / 2.818 GB, free: 178.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/5.386, allocations: 3.609 kB / 2.818 GB, free: 178.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/5.386, allocations: 0 / 2.818 GB, free: 178.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/5.386, allocations: 187.8 kB / 2.818 GB, free: 178.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.395e-05/5.386, allocations: 95.06 kB / 2.818 GB, free: 178.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/5.386, allocations: 0 / 2.818 GB, free: 178.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/5.386, allocations: 6.953 kB / 2.818 GB, free: 178.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.267e-05/5.386, allocations: 14.08 kB / 2.818 GB, free: 178.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/5.386, allocations: 3.281 kB / 2.818 GB, free: 178.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 1.773e-05/5.387, allocations: 82.38 kB / 2.818 GB, free: 178.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/5.387, allocations: 0 / 2.818 GB, free: 178.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002851/5.387, allocations: 47.11 kB / 2.818 GB, free: 178.6 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0007704/5.388, allocations: 0.6366 MB / 2.819 GB, free: 178.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001695/5.388, allocations: 92.48 kB / 2.819 GB, free: 178.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/5.388, allocations: 4 kB / 2.819 GB, free: 178.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.771e-05/5.388, allocations: 54.02 kB / 2.819 GB, free: 178.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001654/5.388, allocations: 3.938 kB / 2.819 GB, free: 178.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000625/5.389, allocations: 456.5 kB / 2.819 GB, free: 177.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/5.389, allocations: 0.7043 MB / 2.82 GB, free: 177.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001325/5.389, allocations: 24.59 kB / 2.82 GB, free: 177.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/5.389, allocations: 15.31 kB / 2.82 GB, free: 177.2 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/5.389, allocations: 0 / 2.82 GB, free: 177.2 MB / 0.6511 GB Notification: Performance of Templates: time 0.006921/5.396, allocations: 4.157 MB / 2.824 GB, free: 175.1 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)