Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.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.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck") translateModel(IBPSA.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 103.7 kB / 16.4 MB, free: 6.492 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.001127/0.001127, allocations: 193.2 kB / 17.34 MB, free: 5.766 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.753/0.753, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 64.44 kB / 0.5577 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1432, allocations: 76.18 MB / 0.632 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.002067/0.1453, allocations: 1.32 MB / 0.6333 GB, free: 3.082 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.5578/0.7031, allocations: 148.1 MB / 0.778 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.77e-05/0.7032, allocations: 0.625 kB / 0.778 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.998e-05/0.7033, allocations: 5.953 kB / 0.778 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 9.102e-05/0.7034, allocations: 15.31 kB / 0.778 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009811/0.7044, allocations: 327.6 kB / 0.7783 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.7045, allocations: 59.7 kB / 0.7783 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.753e-05/0.7046, allocations: 4.141 kB / 0.7783 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.776e-05/0.7046, allocations: 41.94 kB / 0.7784 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.7047, allocations: 30.95 kB / 0.7784 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.7048, allocations: 3.094 kB / 0.7784 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008174/0.7056, allocations: 407.3 kB / 0.7788 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.815e-05/0.7057, allocations: 18.84 kB / 0.7788 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.207e-05/0.7057, allocations: 27.84 kB / 0.7789 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.706, allocations: 163.8 kB / 0.779 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.706, allocations: 0 / 0.779 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.353e-06/0.706, allocations: 0 / 0.779 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.706, allocations: 4 kB / 0.779 GB, free: 14.23 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004601/0.7065, allocations: 386.6 kB / 0.7794 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.7065, allocations: 11.53 kB / 0.7794 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003976/0.7069, allocations: 34.25 kB / 0.7794 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.7071, allocations: 168.9 kB / 0.7796 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.7071, allocations: 6.469 kB / 0.7796 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.7071, allocations: 16.44 kB / 0.7796 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.7073, allocations: 89 kB / 0.7797 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.7073, allocations: 0 / 0.7797 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.7073, allocations: 1.25 kB / 0.7797 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.7073, allocations: 2.469 kB / 0.7797 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.016e-05/0.7074, allocations: 43.61 kB / 0.7797 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001999/0.7076, allocations: 185 kB / 0.7799 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.7078, allocations: 97.88 kB / 0.78 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.101e-05/0.7079, allocations: 36.66 kB / 0.78 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002264/0.7081, allocations: 172.1 kB / 0.7802 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.7081, allocations: 39.28 kB / 0.7802 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.7081, allocations: 0 / 0.7802 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001259/0.7094, allocations: 0.5456 MB / 0.7808 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.7095, allocations: 57.28 kB / 0.7808 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.959e-05/0.7095, allocations: 92.14 kB / 0.7809 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.7096, allocations: 33.14 kB / 0.781 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.467e-05/0.7096, allocations: 86.7 kB / 0.781 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.748e-05/0.7097, allocations: 71.66 kB / 0.7811 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.633e-05/0.7097, allocations: 43.36 kB / 0.7811 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.7099, allocations: 321.1 kB / 0.7814 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.064e-05/0.7099, allocations: 35.91 kB / 0.7815 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.17e-05/0.71, allocations: 74.83 kB / 0.7816 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.7102, allocations: 119.5 kB / 0.7817 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.7102, allocations: 0 / 0.7817 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002183/0.7104, allocations: 154.9 kB / 0.7818 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.7104, allocations: 6 kB / 0.7818 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.7104, allocations: 1.25 kB / 0.7818 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.7104, allocations: 1.25 kB / 0.7818 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.7106, allocations: 43 kB / 0.7819 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.7106, allocations: 4.859 kB / 0.7819 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.92e-05/0.7107, allocations: 9.812 kB / 0.7819 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.7107, allocations: 4.594 kB / 0.7819 GB, free: 12.09 MB / 0.5919 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.658e-05/0.7108, allocations: 133.9 kB / 0.782 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.7108, allocations: 8.391 kB / 0.782 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.306e-05/0.7109, allocations: 18.19 kB / 0.782 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.7109, allocations: 2.25 kB / 0.782 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.7109, allocations: 5.156 kB / 0.782 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.7109, allocations: 3.938 kB / 0.782 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.7111, allocations: 195.2 kB / 0.7822 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.7111, allocations: 0 / 0.7822 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/0.7113, allocations: 39.16 kB / 0.7823 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.7113, allocations: 5.156 kB / 0.7823 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.7113, allocations: 4.25 kB / 0.7823 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.7113, allocations: 1.156 kB / 0.7823 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.7113, allocations: 2.625 kB / 0.7823 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.7116, allocations: 211.9 kB / 0.7825 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.859e-05/0.7117, allocations: 91.22 kB / 0.7826 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.7117, allocations: 1.219 kB / 0.7826 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.7119, allocations: 13.08 kB / 0.7826 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.949e-05/0.7119, allocations: 13.89 kB / 0.7826 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.712, allocations: 8.688 kB / 0.7826 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.233e-05/0.712, allocations: 76.5 kB / 0.7827 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.712, allocations: 0 / 0.7827 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002269/0.7122, allocations: 29.56 kB / 0.7827 GB, free: 11.51 MB / 0.5919 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 () * Number of clocked 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 (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.0001243/0.7124, allocations: 108.2 kB / 0.7828 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001948/0.7126, allocations: 109 kB / 0.7829 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7126, allocations: 1.031 kB / 0.7829 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 7.521e-05/0.7127, allocations: 55.7 kB / 0.783 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.7129, allocations: 17.16 kB / 0.783 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007953/0.7137, allocations: 0.5193 MB / 0.7835 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.714, allocations: 0.6998 MB / 0.7842 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001031/0.7141, allocations: 23.86 kB / 0.7842 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.049e-05/0.7142, allocations: 19.62 kB / 0.7842 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of SimCode: time 3.71e-07/0.7142, allocations: 0 / 0.7842 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.003668/0.7179, allocations: 1.137 MB / 0.7853 GB, free: 10.21 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)