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.001018/0.001018, allocations: 109.9 kB / 17.02 MB, free: 6.094 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.0009365/0.0009365, allocations: 192.1 kB / 17.97 MB, free: 5.191 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.285/1.285, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6832/0.6832, allocations: 115.1 MB / 406.9 MB, free: 6.324 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 56.14 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3334, allocations: 76.15 MB / 0.5575 GB, free: 36.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.002019/0.3354, allocations: 1.326 MB / 0.5588 GB, free: 35.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1453/0.4808, allocations: 148.1 MB / 0.7035 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.082e-05/0.4809, allocations: 0 / 0.7035 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.574e-05/0.4809, allocations: 3.938 kB / 0.7035 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.4811, allocations: 23.84 kB / 0.7035 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009668/0.482, allocations: 322.6 kB / 0.7038 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.4822, allocations: 71.75 kB / 0.7039 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.841e-05/0.4822, allocations: 4 kB / 0.7039 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.134e-05/0.4822, allocations: 31.91 kB / 0.7039 GB, free: 14.19 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.371e-05/0.4823, allocations: 31.89 kB / 0.7039 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.4824, allocations: 4 kB / 0.7039 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007521/0.4831, allocations: 402.8 kB / 0.7043 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.656e-05/0.4832, allocations: 11.98 kB / 0.7043 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.256e-05/0.4832, allocations: 31.86 kB / 0.7044 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003107/0.4836, allocations: 169.3 kB / 0.7045 GB, free: 13.55 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.4836, allocations: 0 / 0.7045 GB, free: 13.55 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4836, allocations: 0 / 0.7045 GB, free: 13.55 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.4836, allocations: 0 / 0.7045 GB, free: 13.55 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.000459/0.4841, allocations: 387.3 kB / 0.7049 GB, free: 13.13 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.4841, allocations: 8.031 kB / 0.7049 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004157/0.4845, allocations: 40.83 kB / 0.7049 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.965e-05/0.4846, allocations: 160.4 kB / 0.7051 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.4847, allocations: 15.94 kB / 0.7051 GB, free: 12.87 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.871e-05/0.4847, allocations: 11.91 kB / 0.7051 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.4849, allocations: 81.58 kB / 0.7052 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.4849, allocations: 0 / 0.7052 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.4849, allocations: 4 kB / 0.7052 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4849, allocations: 0 / 0.7052 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.488e-05/0.485, allocations: 51.89 kB / 0.7053 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001937/0.4852, allocations: 181.5 kB / 0.7054 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.4854, allocations: 94.69 kB / 0.7055 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.267e-05/0.4855, allocations: 32.84 kB / 0.7056 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002346/0.4857, allocations: 170.2 kB / 0.7057 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.4858, allocations: 42.55 kB / 0.7058 GB, free: 12.1 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.4858, allocations: 3.938 kB / 0.7058 GB, free: 12.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001256/0.4871, allocations: 0.5354 MB / 0.7063 GB, free: 11.51 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.4871, allocations: 55.41 kB / 0.7063 GB, free: 11.45 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.904e-05/0.4872, allocations: 109.8 kB / 0.7064 GB, free: 11.33 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.4872, allocations: 25.7 kB / 0.7065 GB, free: 11.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.365e-05/0.4873, allocations: 88.45 kB / 0.7065 GB, free: 11.21 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.613e-05/0.4873, allocations: 67 kB / 0.7066 GB, free: 11.14 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.4874, allocations: 41.7 kB / 0.7066 GB, free: 11.09 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.622e-05/0.4875, allocations: 318.8 kB / 0.707 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.637e-05/0.4875, allocations: 39.98 kB / 0.707 GB, free: 10.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.086e-05/0.4876, allocations: 73.09 kB / 0.7071 GB, free: 10.65 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.4878, allocations: 115.4 kB / 0.7072 GB, free: 10.53 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4878, allocations: 0 / 0.7072 GB, free: 10.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000204/0.488, allocations: 165.4 kB / 0.7073 GB, free: 10.36 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.488, allocations: 4 kB / 0.7073 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.488, allocations: 4 kB / 0.7073 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.4881, allocations: 0 / 0.7073 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.4882, allocations: 43.91 kB / 0.7074 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4882, allocations: 8 kB / 0.7074 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.243e-05/0.4883, allocations: 7.938 kB / 0.7074 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.4883, allocations: 4 kB / 0.7074 GB, free: 10.29 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.27e-05/0.4884, allocations: 122.5 kB / 0.7075 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.4884, allocations: 7.906 kB / 0.7075 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.352e-05/0.4885, allocations: 16.44 kB / 0.7075 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.4885, allocations: 4 kB / 0.7075 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.4885, allocations: 3.938 kB / 0.7075 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.4885, allocations: 11.91 kB / 0.7076 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.4887, allocations: 197.6 kB / 0.7077 GB, free: 9.879 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4887, allocations: 0 / 0.7077 GB, free: 9.879 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.4889, allocations: 31.98 kB / 0.7078 GB, free: 9.848 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.4889, allocations: 4 kB / 0.7078 GB, free: 9.844 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.4889, allocations: 0 / 0.7078 GB, free: 9.844 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4889, allocations: 0 / 0.7078 GB, free: 9.844 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4889, allocations: 0 / 0.7078 GB, free: 9.844 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.4892, allocations: 215 kB / 0.708 GB, free: 9.617 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-05/0.4893, allocations: 97 kB / 0.7081 GB, free: 9.504 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.4893, allocations: 4.062 kB / 0.7081 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.4894, allocations: 8 kB / 0.7081 GB, free: 9.492 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/0.4894, allocations: 15.92 kB / 0.7081 GB, free: 9.477 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.4895, allocations: 8 kB / 0.7081 GB, free: 9.469 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.865e-05/0.4895, allocations: 75.28 kB / 0.7082 GB, free: 9.395 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4895, allocations: 0 / 0.7082 GB, free: 9.395 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000211/0.4897, allocations: 28 kB / 0.7082 GB, free: 9.367 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.0001342/0.4899, allocations: 107.3 kB / 0.7083 GB, free: 9.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001956/0.4901, allocations: 108.1 kB / 0.7084 GB, free: 9.145 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.4901, allocations: 0 / 0.7084 GB, free: 9.145 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.065e-05/0.4901, allocations: 53.75 kB / 0.7085 GB, free: 9.094 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.4904, allocations: 20.11 kB / 0.7085 GB, free: 9.074 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000746/0.4912, allocations: 0.5215 MB / 0.709 GB, free: 8.527 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.4914, allocations: 0.7008 MB / 0.7097 GB, free: 7.801 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.248e-05/0.4915, allocations: 20.64 kB / 0.7097 GB, free: 7.777 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.872e-05/0.4916, allocations: 15.44 kB / 0.7097 GB, free: 7.762 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.4916, allocations: 0 / 0.7097 GB, free: 7.762 MB / 0.545 GB Notification: Performance of Templates: time 0.00322/0.4948, allocations: 1.11 MB / 0.7108 GB, free: 6.656 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)