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: "" <> buildModelFMU(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 106.1 kB / 16.27 MB, free: 6.395 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.001918/0.001918, allocations: 189.2 kB / 17.2 MB, free: 5.938 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.411/1.411, allocations: 222.9 MB / 240.9 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8132/0.8132, allocations: 125.4 MB / 416.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003103/0.003103, allocations: 67.89 kB / 0.4942 GB, free: 4.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3113, allocations: 78.56 MB / 0.571 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00204/0.3133, allocations: 1.265 MB / 0.5722 GB, free: 30.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1705/0.4839, allocations: 147 MB / 0.7157 GB, free: 2.789 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.102e-05/0.484, allocations: 0 / 0.7157 GB, free: 2.789 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.677e-05/0.484, allocations: 3.938 kB / 0.7158 GB, free: 2.785 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.773e-05/0.4841, allocations: 7.984 kB / 0.7158 GB, free: 2.777 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000493/0.4846, allocations: 87.56 kB / 0.7158 GB, free: 2.691 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.62e-05/0.4847, allocations: 39.84 kB / 0.7159 GB, free: 2.652 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.985e-05/0.4847, allocations: 4 kB / 0.7159 GB, free: 2.648 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.133e-05/0.4848, allocations: 19.92 kB / 0.7159 GB, free: 2.629 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.093e-05/0.4849, allocations: 15.97 kB / 0.7159 GB, free: 2.613 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.4849, allocations: 4 kB / 0.7159 GB, free: 2.609 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002743/0.4852, allocations: 71.78 kB / 0.716 GB, free: 2.539 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.4852, allocations: 15.97 kB / 0.716 GB, free: 2.523 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/0.4852, allocations: 11.94 kB / 0.716 GB, free: 2.512 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.4854, allocations: 62.14 kB / 0.7161 GB, free: 2.453 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4854, allocations: 4 kB / 0.7161 GB, free: 2.449 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4854, allocations: 4 kB / 0.7161 GB, free: 2.445 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.4854, allocations: 0 / 0.7161 GB, free: 2.445 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.0004213/0.4859, allocations: 359.3 kB / 0.7164 GB, free: 2.047 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.4859, allocations: 12.03 kB / 0.7164 GB, free: 2.035 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.799e-05/0.486, allocations: 30.75 kB / 0.7165 GB, free: 1.996 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001825/0.4861, allocations: 12.92 kB / 0.7165 GB, free: 1.984 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.4863, allocations: 164.1 kB / 0.7166 GB, free: 1.785 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.4863, allocations: 11.98 kB / 0.7167 GB, free: 1.773 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.4863, allocations: 11.94 kB / 0.7167 GB, free: 1.762 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.4865, allocations: 49.67 kB / 0.7167 GB, free: 1.707 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.4865, allocations: 0 / 0.7167 GB, free: 1.707 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.4865, allocations: 4 kB / 0.7167 GB, free: 1.703 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.4865, allocations: 0 / 0.7167 GB, free: 1.703 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.297e-05/0.4866, allocations: 15.92 kB / 0.7167 GB, free: 1.688 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000189/0.4868, allocations: 177.4 kB / 0.7169 GB, free: 1.465 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.79e-05/0.4869, allocations: 54.55 kB / 0.7169 GB, free: 1.402 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.4e-05/0.4869, allocations: 16.86 kB / 0.717 GB, free: 1.383 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.4869, allocations: 0 / 0.717 GB, free: 1.383 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.487, allocations: 34.56 kB / 0.717 GB, free: 1.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 8.02e-07/0.487, allocations: 0 / 0.717 GB, free: 1.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0007703/0.4877, allocations: 376.6 kB / 0.7174 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.4878, allocations: 55.41 kB / 0.7174 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.492e-05/0.4879, allocations: 93.86 kB / 0.7175 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.4879, allocations: 29.7 kB / 0.7175 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.504e-05/0.4879, allocations: 80.14 kB / 0.7176 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.698e-05/0.488, allocations: 43.36 kB / 0.7176 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/0.4881, allocations: 25.72 kB / 0.7177 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.4882, allocations: 318.8 kB / 0.718 GB, free: 248 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.967e-05/0.4882, allocations: 20.12 kB / 0.718 GB, free: 228 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.063e-05/0.4883, allocations: 40.45 kB / 0.718 GB, free: 184 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.435e-05/0.4884, allocations: 66.17 kB / 0.7181 GB, free: 112 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4884, allocations: 0 / 0.7181 GB, free: 112 kB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001473/0.4886, allocations: 89.67 kB / 0.7182 GB, free: 16 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.4886, allocations: 8 kB / 0.7182 GB, free: 8 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.4886, allocations: 4 kB / 0.7182 GB, free: 4 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.4886, allocations: 0 / 0.7182 GB, free: 4 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.4887, allocations: 27.98 kB / 0.7182 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.4888, allocations: 4 kB / 0.7182 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.193e-05/0.4888, allocations: 3.938 kB / 0.7182 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.4888, allocations: 7.938 kB / 0.7182 GB, free: 15.96 MB / 0.5606 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 8.634e-05/0.4889, allocations: 113.8 kB / 0.7183 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.4889, allocations: 7.906 kB / 0.7184 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.489, allocations: 15.95 kB / 0.7184 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.489, allocations: 0 / 0.7184 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.489, allocations: 3.938 kB / 0.7184 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.489, allocations: 0 / 0.7184 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.4892, allocations: 181.6 kB / 0.7185 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.4892, allocations: 0 / 0.7185 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.4893, allocations: 19.94 kB / 0.7186 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.4893, allocations: 4 kB / 0.7186 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.4893, allocations: 3.938 kB / 0.7186 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4893, allocations: 0 / 0.7186 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4893, allocations: 3.984 kB / 0.7186 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002096/0.4895, allocations: 129 kB / 0.7187 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.426e-05/0.4896, allocations: 89.06 kB / 0.7188 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.4897, allocations: 7.984 kB / 0.7188 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.599e-05/0.4897, allocations: 7.938 kB / 0.7188 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.765e-05/0.4898, allocations: 3.938 kB / 0.7188 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.4898, allocations: 11.98 kB / 0.7188 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.799e-05/0.4898, allocations: 79.22 kB / 0.7189 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4898, allocations: 0 / 0.7189 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002041/0.49, allocations: 12 kB / 0.7189 GB, free: 15.18 MB / 0.5606 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 0.0004868/0.4905, allocations: 0.6674 MB / 0.7195 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001478/0.4907, allocations: 70.84 kB / 0.7196 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4907, allocations: 0 / 0.7196 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.312e-05/0.4908, allocations: 27.92 kB / 0.7196 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.491, allocations: 8 kB / 0.7197 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.4924, allocations: 1.445 MB / 0.7211 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.4927, allocations: 0.6846 MB / 0.7217 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.611e-05/0.4928, allocations: 8.672 kB / 0.7217 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.4929, allocations: 15.44 kB / 0.7218 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.4929, allocations: 4 kB / 0.7218 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0359/0.5288, allocations: 1.637 MB / 0.7234 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.71/10.24, allocations: 3.984 kB / 0.7234 GB, free: 10.59 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)