Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001037/0.001037, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001002/0.001002, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.281/1.281, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002111/0.002111, allocations: 298.9 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.932/0.932, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 95.84 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3579, allocations: 86.98 MB / 0.767 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00198/0.3599, allocations: 1.276 MB / 0.7683 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1369/0.4968, allocations: 147 MB / 0.9118 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.991e-05/0.4969, allocations: 0 / 0.9118 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 2.275e-05/0.497, allocations: 3.938 kB / 0.9118 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 4.314e-05/0.497, allocations: 7.938 kB / 0.9118 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.000423/0.4974, allocations: 95.55 kB / 0.9119 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 6.96e-05/0.4975, allocations: 27.92 kB / 0.912 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.263e-05/0.4976, allocations: 7.984 kB / 0.912 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 4.277e-05/0.4976, allocations: 19.92 kB / 0.912 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 5.147e-05/0.4977, allocations: 4 kB / 0.912 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.4977, allocations: 4 kB / 0.912 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002695/0.498, allocations: 83.81 kB / 0.9121 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.498, allocations: 11.88 kB / 0.9121 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 3.079e-05/0.498, allocations: 23.91 kB / 0.9121 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.4982, allocations: 67.69 kB / 0.9122 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.4982, allocations: 0 / 0.9122 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.253e-06/0.4982, allocations: 0 / 0.9122 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.4982, allocations: 0 / 0.9122 GB, free: 14.73 MB / 0.6856 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.0003488/0.4986, allocations: 350.1 kB / 0.9125 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.4986, allocations: 8.031 kB / 0.9125 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001962/0.4988, allocations: 16.83 kB / 0.9125 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.557e-05/0.4989, allocations: 164.3 kB / 0.9127 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.4989, allocations: 11.94 kB / 0.9127 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.499, allocations: 4 kB / 0.9127 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.4991, allocations: 53.66 kB / 0.9128 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.4991, allocations: 0 / 0.9128 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.4991, allocations: 4 kB / 0.9128 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.4991, allocations: 0 / 0.9128 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.942e-05/0.4992, allocations: 19.92 kB / 0.9128 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.4993, allocations: 165.6 kB / 0.9129 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 8.03e-05/0.4994, allocations: 54.62 kB / 0.913 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.974e-05/0.4995, allocations: 16.84 kB / 0.913 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.906e-06/0.4995, allocations: 4 kB / 0.913 GB, free: 13.72 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.4995, allocations: 30.56 kB / 0.913 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.4995, allocations: 7.938 kB / 0.913 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of matching and sorting (n=11): time 0.0006822/0.5002, allocations: 370 kB / 0.9134 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.5002, allocations: 55.41 kB / 0.9134 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.435e-05/0.5003, allocations: 93.84 kB / 0.9135 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.5003, allocations: 33.7 kB / 0.9136 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 2.671e-05/0.5004, allocations: 80.14 kB / 0.9136 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.751e-05/0.5004, allocations: 39.59 kB / 0.9137 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.5004, allocations: 25.72 kB / 0.9137 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.925e-05/0.5005, allocations: 318.8 kB / 0.914 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.566e-05/0.5006, allocations: 24.11 kB / 0.914 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.181e-05/0.5006, allocations: 41.7 kB / 0.9141 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.221e-05/0.5007, allocations: 62.17 kB / 0.9141 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.5007, allocations: 0 / 0.9141 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001326/0.5009, allocations: 97.58 kB / 0.9142 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.5009, allocations: 10.19 kB / 0.9142 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.5009, allocations: 0 / 0.9142 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.5009, allocations: 0 / 0.9142 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.501, allocations: 31.92 kB / 0.9143 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.5011, allocations: 0 / 0.9143 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.298e-05/0.5011, allocations: 0 / 0.9143 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.5011, allocations: 4 kB / 0.9143 GB, free: 12.3 MB / 0.6856 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 7.517e-05/0.5012, allocations: 124.2 kB / 0.9144 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.5012, allocations: 0 / 0.9144 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.509e-05/0.5013, allocations: 11.97 kB / 0.9144 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.5013, allocations: 0 / 0.9144 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.5013, allocations: 0 / 0.9144 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 6.812e-05/0.5013, allocations: 93 kB / 0.9145 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.5014, allocations: 15.81 kB / 0.9145 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.78e-05/0.5015, allocations: 3.984 kB / 0.9145 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.596e-05/0.5015, allocations: 4 kB / 0.9145 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002342/0.5017, allocations: 168.9 kB / 0.9147 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002485/0.502, allocations: 286.7 kB / 0.9149 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.552e-05/0.502, allocations: 31.97 kB / 0.915 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 2.604e-05/0.5021, allocations: 79.22 kB / 0.9151 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of Backend: time 3.11e-07/0.5021, allocations: 0 / 0.9151 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004367/0.5025, allocations: 154.3 kB / 0.9152 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of SimCode: time 0.0006184/0.5031, allocations: 0.7674 MB / 0.9159 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of Templates: time 0.00339/0.5065, allocations: 1.221 MB / 0.9171 GB, free: 9.266 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)