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.001067/0.001067, allocations: 110.7 kB / 17.04 MB, free: 5.809 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.001058/0.001058, allocations: 196 kB / 17.98 MB, free: 5.031 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.326/1.326, 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.754/0.754, allocations: 115.1 MB / 406.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 60.12 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3283, allocations: 76.14 MB / 0.5576 GB, free: 36.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.002235/0.3306, allocations: 1.331 MB / 0.5589 GB, free: 35.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1569/0.4875, allocations: 148.1 MB / 0.7035 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.272e-05/0.4876, allocations: 0 / 0.7035 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.795e-05/0.4878, allocations: 7.938 kB / 0.7035 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.4879, allocations: 15.91 kB / 0.7035 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.489, allocations: 325.2 kB / 0.7038 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.4891, allocations: 71.75 kB / 0.7039 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.566e-05/0.4892, allocations: 0 / 0.7039 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.276e-05/0.4892, allocations: 31.92 kB / 0.7039 GB, free: 14.2 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.201e-05/0.4893, allocations: 35.83 kB / 0.7039 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.4893, allocations: 7.984 kB / 0.704 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008022/0.4901, allocations: 406.8 kB / 0.7043 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.541e-05/0.4902, allocations: 15.92 kB / 0.7044 GB, free: 13.74 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.964e-05/0.4903, allocations: 31.91 kB / 0.7044 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003226/0.4906, allocations: 165.3 kB / 0.7045 GB, free: 13.55 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.4906, allocations: 0 / 0.7045 GB, free: 13.55 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4906, allocations: 0 / 0.7045 GB, free: 13.55 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.4906, 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.000546/0.4912, allocations: 391.3 kB / 0.7049 GB, free: 13.12 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.4912, allocations: 12.02 kB / 0.7049 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004471/0.4917, allocations: 32.84 kB / 0.705 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.4918, allocations: 164.4 kB / 0.7051 GB, free: 12.88 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.4919, allocations: 11.94 kB / 0.7051 GB, free: 12.87 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.431e-05/0.4919, allocations: 15.91 kB / 0.7051 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.4921, allocations: 73.64 kB / 0.7052 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.4921, allocations: 0 / 0.7052 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.4921, allocations: 4 kB / 0.7052 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.178e-06/0.4922, allocations: 4 kB / 0.7052 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.4923, allocations: 47.89 kB / 0.7053 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002447/0.4925, allocations: 189.5 kB / 0.7054 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.4927, allocations: 86.7 kB / 0.7055 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.814e-05/0.4928, allocations: 32.84 kB / 0.7056 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002522/0.493, allocations: 182.5 kB / 0.7057 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.4931, allocations: 34.56 kB / 0.7058 GB, free: 12.1 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 2.414e-06/0.4931, allocations: 11.92 kB / 0.7058 GB, free: 12.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001284/0.4944, allocations: 0.5345 MB / 0.7063 GB, free: 11.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.4944, allocations: 55.41 kB / 0.7064 GB, free: 11.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.172e-05/0.4945, allocations: 101.8 kB / 0.7065 GB, free: 11.32 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.4945, allocations: 33.7 kB / 0.7065 GB, free: 11.29 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.48e-05/0.4946, allocations: 84.52 kB / 0.7066 GB, free: 11.2 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.605e-05/0.4946, allocations: 63.02 kB / 0.7066 GB, free: 11.14 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/0.4947, allocations: 37.7 kB / 0.7067 GB, free: 11.09 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.4948, allocations: 322.8 kB / 0.707 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.661e-05/0.4949, allocations: 35.92 kB / 0.707 GB, free: 10.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.798e-05/0.495, allocations: 76.34 kB / 0.7071 GB, free: 10.65 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.4951, allocations: 115.3 kB / 0.7072 GB, free: 10.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4951, allocations: 4 kB / 0.7072 GB, free: 10.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002082/0.4954, allocations: 149.6 kB / 0.7073 GB, free: 10.37 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.4954, allocations: 9.859 kB / 0.7073 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.4954, allocations: 0 / 0.7073 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.4954, allocations: 4 kB / 0.7073 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.4956, allocations: 47.86 kB / 0.7074 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.4956, allocations: 8.141 kB / 0.7074 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.137e-05/0.4957, allocations: 11.94 kB / 0.7074 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.4957, 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 8.985e-05/0.4958, allocations: 122.4 kB / 0.7075 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.4958, allocations: 7.906 kB / 0.7075 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.975e-05/0.4959, allocations: 20.44 kB / 0.7076 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.4959, allocations: 0 / 0.7076 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.4959, allocations: 0 / 0.7076 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.4959, allocations: 7.922 kB / 0.7076 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.496, allocations: 197.6 kB / 0.7078 GB, free: 9.883 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.496, allocations: 0 / 0.7078 GB, free: 9.883 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.4962, allocations: 39.98 kB / 0.7078 GB, free: 9.844 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4963, allocations: 0 / 0.7078 GB, free: 9.844 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.4963, allocations: 0 / 0.7078 GB, free: 9.844 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.4963, allocations: 4 kB / 0.7078 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4963, allocations: 0 / 0.7078 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003033/0.4966, allocations: 215.8 kB / 0.708 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.51e-05/0.4967, allocations: 93 kB / 0.7081 GB, free: 9.504 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.4967, allocations: 8.062 kB / 0.7081 GB, free: 9.496 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.4969, allocations: 11.94 kB / 0.7081 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/0.4969, allocations: 11.92 kB / 0.7081 GB, free: 9.473 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.4969, allocations: 4 kB / 0.7081 GB, free: 9.469 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.812e-05/0.497, allocations: 87.27 kB / 0.7082 GB, free: 9.383 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.497, allocations: 0 / 0.7082 GB, free: 9.383 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002274/0.4972, allocations: 24 kB / 0.7082 GB, free: 9.359 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.0001496/0.4973, allocations: 111.3 kB / 0.7083 GB, free: 9.238 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002197/0.4976, allocations: 100.2 kB / 0.7084 GB, free: 9.141 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.4976, allocations: 0 / 0.7084 GB, free: 9.141 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.816e-05/0.4977, allocations: 51.92 kB / 0.7085 GB, free: 9.09 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.498, allocations: 20.11 kB / 0.7085 GB, free: 9.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007612/0.4987, allocations: 0.5148 MB / 0.709 GB, free: 8.531 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.499, allocations: 0.6969 MB / 0.7097 GB, free: 7.809 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001017/0.4991, allocations: 32.61 kB / 0.7097 GB, free: 7.773 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.4991, allocations: 15.44 kB / 0.7097 GB, free: 7.758 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.4991, allocations: 0 / 0.7097 GB, free: 7.758 MB / 0.545 GB Notification: Performance of Templates: time 0.003532/0.5027, allocations: 1.11 MB / 0.7108 GB, free: 6.652 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)