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.001909/0.001909, allocations: 105.6 kB / 16.52 MB, free: 6.66 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.001933/0.001933, allocations: 195.2 kB / 17.44 MB, free: 6.047 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.347/1.347, allocations: 222.9 MB / 241.1 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7389/0.7389, allocations: 115.3 MB / 406.6 MB, free: 6.418 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 55.91 kB / 493.5 MB, free: 0.8789 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.372, allocations: 76.18 MB / 0.5564 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.002824/0.3748, allocations: 1.394 MB / 0.5577 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1541/0.5289, allocations: 145.8 MB / 0.7001 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.393e-05/0.529, allocations: 4 kB / 0.7001 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.549e-05/0.5291, allocations: 3.938 kB / 0.7001 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.5292, allocations: 15.91 kB / 0.7001 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.5303, allocations: 298.8 kB / 0.7004 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.5304, allocations: 87.8 kB / 0.7005 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.941e-05/0.5305, allocations: 0 / 0.7005 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.738e-05/0.5305, allocations: 31.92 kB / 0.7005 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.398e-05/0.5306, allocations: 31.89 kB / 0.7006 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.5306, allocations: 4 kB / 0.7006 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009449/0.5316, allocations: 0.4908 MB / 0.701 GB, free: 84 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.648e-05/0.5317, allocations: 19.91 kB / 0.7011 GB, free: 64 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.738e-05/0.5317, allocations: 23.92 kB / 0.7011 GB, free: 40 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.532, allocations: 109.7 kB / 0.7012 GB, free: 15.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.532, allocations: 8 kB / 0.7012 GB, free: 15.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.102e-06/0.532, allocations: 0 / 0.7012 GB, free: 15.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.532, allocations: 0 / 0.7012 GB, free: 15.93 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.0004923/0.5325, allocations: 395.4 kB / 0.7016 GB, free: 15.49 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.5326, allocations: 11.97 kB / 0.7016 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004383/0.533, allocations: 28.91 kB / 0.7016 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.5332, allocations: 168.4 kB / 0.7018 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.5332, allocations: 11.94 kB / 0.7018 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.553e-05/0.5332, allocations: 15.91 kB / 0.7018 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.5334, allocations: 77.58 kB / 0.7019 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.5334, allocations: 0 / 0.7019 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.5335, allocations: 7.984 kB / 0.7019 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.5335, allocations: 7.938 kB / 0.7019 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.354e-05/0.5336, allocations: 39.97 kB / 0.7019 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002134/0.5338, allocations: 193.5 kB / 0.7021 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.534, allocations: 94.62 kB / 0.7022 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.798e-05/0.5341, allocations: 32.84 kB / 0.7022 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002467/0.5343, allocations: 174.2 kB / 0.7024 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.5344, allocations: 34.56 kB / 0.7024 GB, free: 14.46 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.5344, allocations: 0 / 0.7024 GB, free: 14.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001314/0.5357, allocations: 0.5435 MB / 0.703 GB, free: 13.87 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.5357, allocations: 51.41 kB / 0.703 GB, free: 13.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.158e-05/0.5358, allocations: 105.7 kB / 0.7031 GB, free: 13.69 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.5358, allocations: 33.7 kB / 0.7031 GB, free: 13.65 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.356e-05/0.5359, allocations: 84.52 kB / 0.7032 GB, free: 13.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.894e-05/0.5359, allocations: 67 kB / 0.7033 GB, free: 13.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.728e-05/0.536, allocations: 37.7 kB / 0.7033 GB, free: 13.46 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.5361, allocations: 322.8 kB / 0.7036 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.458e-05/0.5362, allocations: 35.97 kB / 0.7037 GB, free: 13.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.053e-05/0.5363, allocations: 77.97 kB / 0.7037 GB, free: 13.01 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.5365, allocations: 107.4 kB / 0.7038 GB, free: 12.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.5365, allocations: 0 / 0.7038 GB, free: 12.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002299/0.5367, allocations: 161.5 kB / 0.704 GB, free: 12.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.5367, allocations: 4 kB / 0.704 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5368, allocations: 0 / 0.704 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.5368, allocations: 4 kB / 0.704 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.537, allocations: 47.86 kB / 0.704 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.537, allocations: 0 / 0.704 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.929e-05/0.537, allocations: 11.94 kB / 0.7041 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.5371, allocations: 8 kB / 0.7041 GB, free: 12.66 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 0.0001016/0.5372, allocations: 126.4 kB / 0.7042 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.5372, allocations: 7.906 kB / 0.7042 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.657e-05/0.5373, allocations: 16.44 kB / 0.7042 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.5373, allocations: 4 kB / 0.7042 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5373, allocations: 0 / 0.7042 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5373, allocations: 3.938 kB / 0.7042 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.5375, allocations: 189.6 kB / 0.7044 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.5375, allocations: 4 kB / 0.7044 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.5377, allocations: 39.98 kB / 0.7044 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.5377, allocations: 0 / 0.7044 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.5377, allocations: 3.938 kB / 0.7044 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.5377, allocations: 7.984 kB / 0.7045 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5377, allocations: 0 / 0.7045 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.538, allocations: 206.6 kB / 0.7047 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.911e-05/0.5381, allocations: 89 kB / 0.7047 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.5381, allocations: 12.06 kB / 0.7047 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.5383, allocations: 11.98 kB / 0.7048 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.5383, allocations: 11.92 kB / 0.7048 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.5384, allocations: 4 kB / 0.7048 GB, free: 11.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.597e-05/0.5384, allocations: 83.28 kB / 0.7049 GB, free: 11.76 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5384, allocations: 0 / 0.7049 GB, free: 11.76 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002303/0.5386, allocations: 24 kB / 0.7049 GB, free: 11.74 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.0001526/0.5388, allocations: 111.3 kB / 0.705 GB, free: 11.62 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002039/0.539, allocations: 108 kB / 0.7051 GB, free: 11.51 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.539, allocations: 0 / 0.7051 GB, free: 11.51 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.89e-05/0.5391, allocations: 58.83 kB / 0.7051 GB, free: 11.46 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.5394, allocations: 15.94 kB / 0.7052 GB, free: 11.44 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008834/0.5403, allocations: 0.571 MB / 0.7057 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.5406, allocations: 0.7049 MB / 0.7064 GB, free: 10.11 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.919e-05/0.5406, allocations: 15.44 kB / 0.7064 GB, free: 10.09 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.5406, allocations: 0 / 0.7064 GB, free: 10.09 MB / 0.545 GB Notification: Performance of Templates: time 0.003101/0.5437, allocations: 1.284 MB / 0.7077 GB, free: 8.805 MB / 0.545 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)