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.001403/0.001403, allocations: 107.1 kB / 16.64 MB, free: 6.367 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.001407/0.001406, allocations: 191.4 kB / 17.56 MB, free: 5.812 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.338/1.338, allocations: 222.9 MB / 241.2 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7559/0.7559, allocations: 122.9 MB / 414.2 MB, free: 15.99 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 63.89 kB / 0.4912 GB, free: 7.867 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3653, allocations: 77.92 MB / 0.5673 GB, free: 32.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.002404/0.3678, allocations: 1.388 MB / 0.5687 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1554/0.5232, allocations: 145.9 MB / 0.7112 GB, free: 7.211 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.135e-05/0.5233, allocations: 0 / 0.7112 GB, free: 7.211 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.542e-05/0.5233, allocations: 0 / 0.7112 GB, free: 7.211 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.5235, allocations: 15.91 kB / 0.7112 GB, free: 7.195 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.5246, allocations: 298.9 kB / 0.7115 GB, free: 6.902 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.5248, allocations: 63.77 kB / 0.7116 GB, free: 6.84 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.763e-05/0.5248, allocations: 7.984 kB / 0.7116 GB, free: 6.832 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.634e-05/0.5249, allocations: 27.92 kB / 0.7116 GB, free: 6.805 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.364e-05/0.525, allocations: 27.91 kB / 0.7116 GB, free: 6.777 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.525, allocations: 4 kB / 0.7116 GB, free: 6.773 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009176/0.5259, allocations: 446.8 kB / 0.712 GB, free: 6.336 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.477e-05/0.526, allocations: 19.91 kB / 0.7121 GB, free: 6.316 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.389e-05/0.526, allocations: 19.94 kB / 0.7121 GB, free: 6.297 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.5263, allocations: 117.7 kB / 0.7122 GB, free: 6.184 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.5263, allocations: 0 / 0.7122 GB, free: 6.184 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5264, allocations: 0 / 0.7122 GB, free: 6.184 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.5264, allocations: 0 / 0.7122 GB, free: 6.184 MB / 0.545 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.0005045/0.5269, allocations: 395.3 kB / 0.7126 GB, free: 5.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.5269, allocations: 16.62 kB / 0.7126 GB, free: 5.734 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004276/0.5274, allocations: 32.91 kB / 0.7126 GB, free: 5.703 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.5275, allocations: 172.3 kB / 0.7128 GB, free: 5.496 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.5275, allocations: 7.938 kB / 0.7128 GB, free: 5.488 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.652e-05/0.5276, allocations: 11.98 kB / 0.7128 GB, free: 5.477 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.5278, allocations: 81.66 kB / 0.7129 GB, free: 5.391 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.5278, allocations: 0 / 0.7129 GB, free: 5.391 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.5278, allocations: 4 kB / 0.7129 GB, free: 5.387 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.5278, allocations: 3.938 kB / 0.7129 GB, free: 5.383 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.534e-05/0.5279, allocations: 51.89 kB / 0.7129 GB, free: 5.332 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002232/0.5281, allocations: 193.4 kB / 0.7131 GB, free: 5.094 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.5283, allocations: 82.61 kB / 0.7132 GB, free: 5.004 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.528e-05/0.5284, allocations: 32.94 kB / 0.7132 GB, free: 4.969 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002572/0.5287, allocations: 182.2 kB / 0.7134 GB, free: 4.754 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.5287, allocations: 42.5 kB / 0.7135 GB, free: 4.703 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.5287, allocations: 0 / 0.7135 GB, free: 4.703 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001383/0.5301, allocations: 0.5422 MB / 0.714 GB, free: 4.109 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.5302, allocations: 55.41 kB / 0.714 GB, free: 4.043 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.342e-05/0.5302, allocations: 101.8 kB / 0.7141 GB, free: 3.934 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.5303, allocations: 29.7 kB / 0.7142 GB, free: 3.898 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/0.5303, allocations: 80.52 kB / 0.7142 GB, free: 3.816 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.065e-05/0.5304, allocations: 67.02 kB / 0.7143 GB, free: 3.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-05/0.5304, allocations: 41.7 kB / 0.7143 GB, free: 3.703 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.5306, allocations: 327 kB / 0.7147 GB, free: 3.375 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.203e-05/0.5306, allocations: 31.98 kB / 0.7147 GB, free: 3.344 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.438e-05/0.5307, allocations: 67.34 kB / 0.7147 GB, free: 3.266 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.5309, allocations: 119.4 kB / 0.7149 GB, free: 3.137 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5309, allocations: 0 / 0.7149 GB, free: 3.137 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002217/0.5311, allocations: 157.4 kB / 0.715 GB, free: 2.977 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.5312, allocations: 8 kB / 0.715 GB, free: 2.969 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.5312, allocations: 4 kB / 0.715 GB, free: 2.965 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.5312, allocations: 0 / 0.715 GB, free: 2.965 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.5314, allocations: 43.86 kB / 0.7151 GB, free: 2.922 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.5314, allocations: 4 kB / 0.7151 GB, free: 2.918 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.89e-05/0.5314, allocations: 7.938 kB / 0.7151 GB, free: 2.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.5315, allocations: 8 kB / 0.7151 GB, free: 2.902 MB / 0.545 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 9.08e-05/0.5316, allocations: 117.8 kB / 0.7152 GB, free: 2.777 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.5316, allocations: 7.906 kB / 0.7152 GB, free: 2.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.616e-05/0.5316, allocations: 24.38 kB / 0.7152 GB, free: 2.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.5317, allocations: 4 kB / 0.7152 GB, free: 2.746 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.5317, allocations: 3.984 kB / 0.7152 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5317, allocations: 3.938 kB / 0.7152 GB, free: 2.738 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.5319, allocations: 193.8 kB / 0.7154 GB, free: 2.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.5319, allocations: 4 kB / 0.7154 GB, free: 2.496 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.5321, allocations: 31.98 kB / 0.7155 GB, free: 2.465 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.5321, allocations: 4 kB / 0.7155 GB, free: 2.461 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.5321, allocations: 4 kB / 0.7155 GB, free: 2.457 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5321, allocations: 0 / 0.7155 GB, free: 2.457 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.5321, allocations: 0 / 0.7155 GB, free: 2.457 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.5324, allocations: 222.5 kB / 0.7157 GB, free: 2.223 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.347e-05/0.5325, allocations: 89 kB / 0.7158 GB, free: 2.117 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.5326, allocations: 4.062 kB / 0.7158 GB, free: 2.113 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.5327, allocations: 4 kB / 0.7158 GB, free: 2.109 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.5327, allocations: 19.92 kB / 0.7158 GB, free: 2.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.5327, allocations: 7.984 kB / 0.7158 GB, free: 2.082 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.731e-05/0.5328, allocations: 79.28 kB / 0.7159 GB, free: 2.004 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5328, allocations: 0 / 0.7159 GB, free: 2.004 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002325/0.533, allocations: 32 kB / 0.7159 GB, free: 1.973 MB / 0.545 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.0001446/0.5332, allocations: 107.2 kB / 0.716 GB, free: 1.855 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002334/0.5334, allocations: 111.8 kB / 0.7161 GB, free: 1.746 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5334, allocations: 0 / 0.7161 GB, free: 1.746 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.581e-05/0.5335, allocations: 58.66 kB / 0.7162 GB, free: 1.691 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.5338, allocations: 20.73 kB / 0.7162 GB, free: 1.672 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009219/0.5347, allocations: 0.5769 MB / 0.7167 GB, free: 1.062 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.535, allocations: 0.7047 MB / 0.7174 GB, free: 340 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.307e-05/0.5351, allocations: 15.44 kB / 0.7175 GB, free: 324 kB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.5351, allocations: 0 / 0.7175 GB, free: 324 kB / 0.545 GB Notification: Performance of Templates: time 0.003358/0.5385, allocations: 1.292 MB / 0.7187 GB, free: 15.02 MB / 0.5606 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)