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.001113/0.001113, allocations: 116.8 kB / 17.09 MB, free: 5.984 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.001196/0.001196, allocations: 192.7 kB / 18.02 MB, free: 5.062 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.291/1.291, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7054/0.7054, allocations: 115.3 MB / 407.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 70.83 kB / 0.5583 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1344, allocations: 76.18 MB / 0.6327 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.002099/0.1365, allocations: 1.313 MB / 0.634 GB, free: 3.078 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.5111/0.6476, allocations: 148.1 MB / 0.7786 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.7e-05/0.6477, allocations: 0.5625 kB / 0.7786 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.57e-05/0.6478, allocations: 5.719 kB / 0.7786 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.6479, allocations: 13.41 kB / 0.7786 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.6491, allocations: 334.4 kB / 0.7789 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.6493, allocations: 63.25 kB / 0.779 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.449e-05/0.6493, allocations: 5.25 kB / 0.779 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 6.001e-05/0.6494, allocations: 31.42 kB / 0.779 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.6496, allocations: 42.23 kB / 0.7791 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.6496, allocations: 3.406 kB / 0.7791 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009423/0.6505, allocations: 397.8 kB / 0.7795 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.649e-05/0.6506, allocations: 21.91 kB / 0.7795 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.97e-05/0.6507, allocations: 26.86 kB / 0.7795 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003436/0.651, allocations: 163 kB / 0.7797 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.651, allocations: 0 / 0.7797 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.643e-06/0.651, allocations: 0 / 0.7797 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.651, allocations: 1.062 kB / 0.7797 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.0004787/0.6515, allocations: 392.5 kB / 0.78 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.6516, allocations: 10.19 kB / 0.7801 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004145/0.652, allocations: 35.3 kB / 0.7801 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.6521, allocations: 163.1 kB / 0.7802 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.6521, allocations: 10.16 kB / 0.7803 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.6522, allocations: 12.94 kB / 0.7803 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.6524, allocations: 85 kB / 0.7803 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.6524, allocations: 0 / 0.7803 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.6524, allocations: 5.625 kB / 0.7804 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.6524, allocations: 0.9375 kB / 0.7804 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.95e-05/0.6525, allocations: 43.22 kB / 0.7804 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002057/0.6527, allocations: 182.6 kB / 0.7806 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.653, allocations: 98.86 kB / 0.7807 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.523e-05/0.653, allocations: 37.03 kB / 0.7807 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002414/0.6533, allocations: 178.2 kB / 0.7809 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.6533, allocations: 33.44 kB / 0.7809 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.6533, allocations: 0 / 0.7809 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.00135/0.6547, allocations: 0.5438 MB / 0.7814 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.6547, allocations: 58.19 kB / 0.7815 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.212e-05/0.6548, allocations: 99.95 kB / 0.7816 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.6548, allocations: 30.77 kB / 0.7816 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.414e-05/0.6549, allocations: 81.92 kB / 0.7817 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.729e-05/0.6549, allocations: 73.34 kB / 0.7818 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.544e-05/0.655, allocations: 39.16 kB / 0.7818 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.856e-05/0.6551, allocations: 321.7 kB / 0.7821 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.227e-05/0.6552, allocations: 37.61 kB / 0.7821 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.901e-05/0.6552, allocations: 74.45 kB / 0.7822 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.6554, allocations: 122.5 kB / 0.7823 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.6554, allocations: 2.344 kB / 0.7823 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002203/0.6556, allocations: 154.4 kB / 0.7825 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.6557, allocations: 6.594 kB / 0.7825 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.6557, allocations: 1.031 kB / 0.7825 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.6557, allocations: 2.031 kB / 0.7825 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.6559, allocations: 43.09 kB / 0.7825 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.6559, allocations: 1.812 kB / 0.7825 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.521e-05/0.6559, allocations: 9.719 kB / 0.7825 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.656, allocations: 5 kB / 0.7825 GB, free: 12.1 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.325e-05/0.6561, allocations: 131.4 kB / 0.7827 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.6561, allocations: 9.891 kB / 0.7827 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.794e-05/0.6561, allocations: 14.75 kB / 0.7827 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.6561, allocations: 6.594 kB / 0.7827 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.6562, allocations: 0 / 0.7827 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.6562, allocations: 7.422 kB / 0.7827 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.6563, allocations: 192 kB / 0.7829 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.6563, allocations: 0 / 0.7829 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.6565, allocations: 46.69 kB / 0.7829 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.6565, allocations: 5.406 kB / 0.7829 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.6566, allocations: 1.25 kB / 0.7829 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.6566, allocations: 1.312 kB / 0.7829 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6566, allocations: 1.203 kB / 0.7829 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.6569, allocations: 215.1 kB / 0.7831 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.372e-05/0.657, allocations: 87.33 kB / 0.7832 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.657, allocations: 4.25 kB / 0.7832 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.6571, allocations: 7.625 kB / 0.7832 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.6571, allocations: 13.64 kB / 0.7833 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.6572, allocations: 12.44 kB / 0.7833 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.005e-05/0.6572, allocations: 79 kB / 0.7833 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6572, allocations: 1.25 kB / 0.7833 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002226/0.6574, allocations: 25.38 kB / 0.7834 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.0001328/0.6576, allocations: 108 kB / 0.7835 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002052/0.6578, allocations: 116 kB / 0.7836 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6578, allocations: 0 / 0.7836 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.69e-05/0.6579, allocations: 52.45 kB / 0.7836 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.0002644/0.6581, allocations: 14.62 kB / 0.7836 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007833/0.6589, allocations: 0.5471 MB / 0.7842 GB, free: 11 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.6592, allocations: 0.7027 MB / 0.7849 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/0.6592, allocations: 17 kB / 0.7849 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of SimCode: time 2.11e-07/0.6592, allocations: 0 / 0.7849 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of Templates: time 0.002785/0.662, allocations: 1.31 MB / 0.7862 GB, free: 10.19 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)