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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4694/0.4694, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 349.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 103.4 kB / 420 MB, free: 8.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 55.91 kB / 0.4891 GB, free: 7.707 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3452, allocations: 70.07 MB / 0.5575 GB, free: 44.7 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.002478/0.3477, allocations: 1.389 MB / 0.5588 GB, free: 43.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1437/0.4914, allocations: 145.8 MB / 0.7012 GB, free: 9.434 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.091e-05/0.4915, allocations: 0 / 0.7012 GB, free: 9.434 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 4.1e-05/0.4915, allocations: 0 / 0.7012 GB, free: 9.434 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.4917, allocations: 11.91 kB / 0.7012 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000964/0.4926, allocations: 302.9 kB / 0.7015 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.4928, allocations: 83.73 kB / 0.7016 GB, free: 9.043 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.616e-05/0.4928, allocations: 7.984 kB / 0.7016 GB, free: 9.035 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.792e-05/0.4929, allocations: 31.92 kB / 0.7016 GB, free: 9.004 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 9.263e-05/0.493, allocations: 27.91 kB / 0.7017 GB, free: 8.977 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.493, allocations: 4 kB / 0.7017 GB, free: 8.973 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000922/0.4939, allocations: 0.4909 MB / 0.7022 GB, free: 8.48 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 5.745e-05/0.494, allocations: 23.91 kB / 0.7022 GB, free: 8.457 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.193e-05/0.494, allocations: 19.94 kB / 0.7022 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0004138/0.4945, allocations: 197.6 kB / 0.7024 GB, free: 8.246 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4945, allocations: 3.938 kB / 0.7024 GB, free: 8.242 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.022e-06/0.4945, allocations: 0 / 0.7024 GB, free: 8.242 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.4945, allocations: 0 / 0.7024 GB, free: 8.242 MB / 0.5105 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.0005196/0.495, allocations: 391.3 kB / 0.7028 GB, free: 7.812 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.4951, allocations: 8.031 kB / 0.7028 GB, free: 7.805 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004218/0.4955, allocations: 40.8 kB / 0.7028 GB, free: 7.766 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.4956, allocations: 172.3 kB / 0.703 GB, free: 7.559 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.4956, allocations: 3.938 kB / 0.703 GB, free: 7.555 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.4957, allocations: 12 kB / 0.703 GB, free: 7.543 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.4959, allocations: 77.64 kB / 0.7031 GB, free: 7.461 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.4959, allocations: 0 / 0.7031 GB, free: 7.461 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.4959, allocations: 4 kB / 0.7031 GB, free: 7.457 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.4959, allocations: 4 kB / 0.7031 GB, free: 7.453 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.345e-05/0.496, allocations: 39.95 kB / 0.7031 GB, free: 7.414 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001984/0.4962, allocations: 193.4 kB / 0.7033 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.4964, allocations: 102.6 kB / 0.7034 GB, free: 7.066 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.165e-05/0.4965, allocations: 29.17 kB / 0.7034 GB, free: 7.035 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000233/0.4967, allocations: 178.2 kB / 0.7036 GB, free: 6.824 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.4967, allocations: 38.48 kB / 0.7036 GB, free: 6.777 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.4968, allocations: 4 kB / 0.7036 GB, free: 6.773 MB / 0.5105 GB Notification: Performance of matching and sorting (n=19): time 0.001412/0.4982, allocations: 0.5392 MB / 0.7042 GB, free: 6.184 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.4982, allocations: 55.41 kB / 0.7042 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.186e-05/0.4983, allocations: 101.8 kB / 0.7043 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.4983, allocations: 33.7 kB / 0.7043 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.744e-05/0.4984, allocations: 80.52 kB / 0.7044 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.936e-05/0.4984, allocations: 71 kB / 0.7045 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.818e-05/0.4985, allocations: 41.56 kB / 0.7045 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.4986, allocations: 322.8 kB / 0.7048 GB, free: 5.445 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.585e-05/0.4987, allocations: 31.98 kB / 0.7049 GB, free: 5.414 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.951e-05/0.4988, allocations: 71.53 kB / 0.7049 GB, free: 5.332 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.4989, allocations: 115.3 kB / 0.705 GB, free: 5.207 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/0.4989, allocations: 4 kB / 0.705 GB, free: 5.203 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002164/0.4991, allocations: 149.5 kB / 0.7052 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.4992, allocations: 7.938 kB / 0.7052 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4992, allocations: 0 / 0.7052 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.4992, allocations: 4 kB / 0.7052 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.4994, allocations: 47.97 kB / 0.7052 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.4994, allocations: 0 / 0.7052 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.557e-05/0.4994, allocations: 3.938 kB / 0.7052 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.4995, allocations: 12 kB / 0.7053 GB, free: 4.977 MB / 0.5105 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.239e-05/0.4996, allocations: 117.8 kB / 0.7054 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.4996, allocations: 11.91 kB / 0.7054 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.834e-05/0.4996, allocations: 16.38 kB / 0.7054 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.4997, allocations: 4.125 kB / 0.7054 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4997, allocations: 4 kB / 0.7054 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.4997, allocations: 11.92 kB / 0.7054 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.4998, allocations: 193.6 kB / 0.7056 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4998, allocations: 0 / 0.7056 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/0.5, allocations: 39.92 kB / 0.7056 GB, free: 4.531 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.5001, allocations: 0 / 0.7056 GB, free: 4.531 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.5001, allocations: 7.984 kB / 0.7056 GB, free: 4.523 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.5001, allocations: 4 kB / 0.7056 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.5001, allocations: 0 / 0.7056 GB, free: 4.52 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.5015, allocations: 1.348 MB / 0.707 GB, free: 3.031 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.389e-05/0.5016, allocations: 89 kB / 0.7071 GB, free: 2.926 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.5016, allocations: 11.98 kB / 0.7071 GB, free: 2.914 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.5018, allocations: 4 kB / 0.7071 GB, free: 2.91 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.5018, allocations: 15.98 kB / 0.7071 GB, free: 2.895 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.5018, allocations: 4 kB / 0.7071 GB, free: 2.891 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.356e-05/0.5019, allocations: 79.28 kB / 0.7072 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.563e-06/0.5019, allocations: 0 / 0.7072 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003008/0.5022, allocations: 35.94 kB / 0.7072 GB, free: 2.777 MB / 0.5105 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.0001659/0.5024, allocations: 107.4 kB / 0.7073 GB, free: 2.664 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002224/0.5026, allocations: 116.4 kB / 0.7074 GB, free: 2.551 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.5026, allocations: 0 / 0.7074 GB, free: 2.551 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.441e-05/0.5027, allocations: 47.92 kB / 0.7075 GB, free: 2.504 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.503, allocations: 27.97 kB / 0.7075 GB, free: 2.477 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.5041, allocations: 0.6966 MB / 0.7082 GB, free: 1.738 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.5044, allocations: 0.7051 MB / 0.7088 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001503/0.5045, allocations: 32.61 kB / 0.7089 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.5046, allocations: 15.44 kB / 0.7089 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of SimCode: time 4.51e-07/0.5046, allocations: 0 / 0.7089 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of Templates: time 0.2382/0.7428, allocations: 1.145 MB / 0.71 GB, free: 153.6 MB / 0.5105 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)