Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 103.9 kB / 15.98 MB, free: 6.352 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.00172/0.00172, allocations: 189.5 kB / 16.9 MB, free: 6.195 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.331/1.331, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.77/0.77, allocations: 122.9 MB / 413.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 63.91 kB / 0.4906 GB, free: 7.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3454, allocations: 77.91 MB / 0.5667 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002328/0.3477, allocations: 1.339 MB / 0.568 GB, free: 31.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.151/0.4987, allocations: 144.8 MB / 0.7094 GB, free: 8.336 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.563e-05/0.4988, allocations: 4 kB / 0.7094 GB, free: 8.332 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.819e-05/0.4989, allocations: 0 / 0.7094 GB, free: 8.332 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.171e-05/0.499, allocations: 11.97 kB / 0.7095 GB, free: 8.32 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.4994, allocations: 79.64 kB / 0.7095 GB, free: 8.242 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.83e-05/0.4995, allocations: 31.92 kB / 0.7096 GB, free: 8.211 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.4995, allocations: 0 / 0.7096 GB, free: 8.211 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.778e-05/0.4996, allocations: 19.92 kB / 0.7096 GB, free: 8.191 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.024e-05/0.4996, allocations: 15.97 kB / 0.7096 GB, free: 8.176 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.4997, allocations: 4 kB / 0.7096 GB, free: 8.172 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002398/0.4999, allocations: 67.84 kB / 0.7097 GB, free: 8.105 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.341e-05/0.5, allocations: 23.91 kB / 0.7097 GB, free: 8.082 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.063e-05/0.5, allocations: 15.94 kB / 0.7097 GB, free: 8.066 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.5001, allocations: 57.86 kB / 0.7098 GB, free: 8.012 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.5002, allocations: 3.984 kB / 0.7098 GB, free: 8.008 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5002, allocations: 3.938 kB / 0.7098 GB, free: 8.004 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.5002, allocations: 0 / 0.7098 GB, free: 8.004 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003849/0.5006, allocations: 347.4 kB / 0.7101 GB, free: 7.617 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.5006, allocations: 12.62 kB / 0.7101 GB, free: 7.605 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001921/0.5008, allocations: 16.92 kB / 0.7101 GB, free: 7.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.853e-05/0.5009, allocations: 168.4 kB / 0.7103 GB, free: 7.387 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.5009, allocations: 7.938 kB / 0.7103 GB, free: 7.379 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.501, allocations: 4 kB / 0.7103 GB, free: 7.375 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.5011, allocations: 53.67 kB / 0.7103 GB, free: 7.316 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.5011, allocations: 0 / 0.7103 GB, free: 7.316 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.5011, allocations: 0 / 0.7103 GB, free: 7.316 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.5011, allocations: 4 kB / 0.7103 GB, free: 7.312 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.818e-05/0.5012, allocations: 19.92 kB / 0.7104 GB, free: 7.293 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.5013, allocations: 169.5 kB / 0.7105 GB, free: 7.078 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.232e-05/0.5014, allocations: 46.56 kB / 0.7106 GB, free: 7.023 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.965e-05/0.5015, allocations: 20.84 kB / 0.7106 GB, free: 7 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.5015, allocations: 0 / 0.7106 GB, free: 7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.5015, allocations: 34.56 kB / 0.7106 GB, free: 6.957 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.5015, allocations: 0 / 0.7106 GB, free: 6.957 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0007023/0.5022, allocations: 378.7 kB / 0.711 GB, free: 6.535 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.5023, allocations: 55.41 kB / 0.711 GB, free: 6.469 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.322e-05/0.5023, allocations: 97.78 kB / 0.7111 GB, free: 6.363 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.5024, allocations: 29.7 kB / 0.7112 GB, free: 6.328 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.772e-05/0.5024, allocations: 84.14 kB / 0.7112 GB, free: 6.242 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.894e-05/0.5024, allocations: 35.45 kB / 0.7113 GB, free: 6.207 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.5025, allocations: 33.75 kB / 0.7113 GB, free: 6.168 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.5026, allocations: 322.8 kB / 0.7116 GB, free: 5.844 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.536e-05/0.5026, allocations: 16 kB / 0.7116 GB, free: 5.828 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.661e-05/0.5027, allocations: 40.08 kB / 0.7117 GB, free: 5.785 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.79e-05/0.5028, allocations: 65.69 kB / 0.7117 GB, free: 5.715 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.5028, allocations: 0 / 0.7117 GB, free: 5.715 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001222/0.5029, allocations: 85.69 kB / 0.7118 GB, free: 5.625 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.503, allocations: 4 kB / 0.7118 GB, free: 5.621 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.503, allocations: 8 kB / 0.7118 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.503, allocations: 0 / 0.7118 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.5031, allocations: 27.92 kB / 0.7119 GB, free: 5.586 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.5031, allocations: 0 / 0.7119 GB, free: 5.586 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.165e-05/0.5032, allocations: 4 kB / 0.7119 GB, free: 5.582 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.5032, allocations: 4 kB / 0.7119 GB, free: 5.578 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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.0001218/0.5033, allocations: 117.8 kB / 0.712 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.5033, allocations: 3.906 kB / 0.712 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.788e-05/0.5034, allocations: 11.97 kB / 0.712 GB, free: 5.438 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.5034, allocations: 8 kB / 0.712 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.5034, allocations: 3.984 kB / 0.712 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.5034, allocations: 0 / 0.712 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.5035, allocations: 177.5 kB / 0.7122 GB, free: 5.203 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.5035, allocations: 0 / 0.7122 GB, free: 5.203 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.5036, allocations: 23.92 kB / 0.7122 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.5037, allocations: 3.984 kB / 0.7122 GB, free: 5.176 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.5037, allocations: 8 kB / 0.7122 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5037, allocations: 0 / 0.7122 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5037, allocations: 4 kB / 0.7122 GB, free: 5.164 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.5039, allocations: 137 kB / 0.7123 GB, free: 5.012 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.202e-05/0.504, allocations: 81.02 kB / 0.7124 GB, free: 4.914 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.504, allocations: 8 kB / 0.7124 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.497e-05/0.5041, allocations: 4.031 kB / 0.7124 GB, free: 4.902 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/0.5041, allocations: 7.938 kB / 0.7124 GB, free: 4.895 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.5041, allocations: 11.94 kB / 0.7124 GB, free: 4.883 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.568e-05/0.5042, allocations: 79.27 kB / 0.7125 GB, free: 4.805 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5042, allocations: 4.094 kB / 0.7125 GB, free: 4.801 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001966/0.5044, allocations: 19.94 kB / 0.7125 GB, free: 4.781 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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 9.968e-05/0.5045, allocations: 95.25 kB / 0.7126 GB, free: 4.676 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001387/0.5046, allocations: 61.89 kB / 0.7127 GB, free: 4.617 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5046, allocations: 3.938 kB / 0.7127 GB, free: 4.613 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.024e-05/0.5047, allocations: 27.92 kB / 0.7127 GB, free: 4.586 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.5049, allocations: 8 kB / 0.7127 GB, free: 4.578 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005443/0.5055, allocations: 337 kB / 0.7131 GB, free: 4.223 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.5058, allocations: 0.6923 MB / 0.7137 GB, free: 3.504 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.611e-05/0.5058, allocations: 8.672 kB / 0.7137 GB, free: 3.496 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.5059, allocations: 11.44 kB / 0.7137 GB, free: 3.484 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.5059, allocations: 3.938 kB / 0.7138 GB, free: 3.48 MB / 0.545 GB Notification: Performance of Templates: time 0.002735/0.5086, allocations: 0.6387 MB / 0.7144 GB, free: 2.852 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)