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.001056/0.001056, allocations: 111.1 kB / 16.42 MB, free: 6.457 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.001034/0.001034, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002098/0.002098, allocations: 293.1 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9231/0.9231, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 95.84 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.375, 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.001919/0.377, allocations: 1.276 MB / 0.7683 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.1357/0.5127, allocations: 147 MB / 0.9118 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.654e-05/0.5128, allocations: 0 / 0.9118 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 2.102e-05/0.5129, allocations: 3.938 kB / 0.9118 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 4.315e-05/0.5129, allocations: 3.984 kB / 0.9118 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.5133, allocations: 95.56 kB / 0.9119 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 7.358e-05/0.5134, allocations: 35.84 kB / 0.912 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.172e-05/0.5135, allocations: 0 / 0.912 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 5.017e-05/0.5135, allocations: 19.92 kB / 0.912 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 5.234e-05/0.5136, allocations: 11.98 kB / 0.912 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.5136, allocations: 0 / 0.912 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002473/0.5138, allocations: 83.81 kB / 0.9121 GB, free: 14.83 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.5139, allocations: 7.938 kB / 0.9121 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 2.654e-05/0.5139, allocations: 19.92 kB / 0.9121 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.5141, allocations: 67.53 kB / 0.9122 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.5141, allocations: 0 / 0.9122 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5141, allocations: 0 / 0.9122 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.5141, allocations: 0 / 0.9122 GB, free: 14.74 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.0003579/0.5145, allocations: 350.1 kB / 0.9125 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.5145, allocations: 8.031 kB / 0.9125 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001936/0.5147, allocations: 16.83 kB / 0.9125 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.387e-05/0.5148, allocations: 176.2 kB / 0.9127 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.5148, allocations: 11.94 kB / 0.9127 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.5148, allocations: 4 kB / 0.9127 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.515, allocations: 45.69 kB / 0.9127 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.515, allocations: 4 kB / 0.9128 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.515, allocations: 0 / 0.9128 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.515, allocations: 0 / 0.9128 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.639e-05/0.515, allocations: 19.97 kB / 0.9128 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001534/0.5152, allocations: 161.6 kB / 0.9129 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 8.065e-05/0.5153, allocations: 58.5 kB / 0.913 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.724e-05/0.5153, allocations: 16.86 kB / 0.913 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.5153, allocations: 0 / 0.913 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.5154, allocations: 38.55 kB / 0.913 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.5154, allocations: 0 / 0.913 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of matching and sorting (n=11): time 0.000665/0.5161, allocations: 378.5 kB / 0.9134 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.5161, allocations: 51.41 kB / 0.9134 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.524e-05/0.5162, allocations: 101.8 kB / 0.9135 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.5162, allocations: 29.64 kB / 0.9136 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 2.787e-05/0.5162, allocations: 80.14 kB / 0.9136 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.5163, allocations: 39.45 kB / 0.9137 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.5163, allocations: 29.7 kB / 0.9137 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.359e-05/0.5164, allocations: 322.9 kB / 0.914 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.499e-05/0.5164, allocations: 19.98 kB / 0.914 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.823e-05/0.5165, allocations: 33.7 kB / 0.9141 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.117e-05/0.5166, allocations: 57.7 kB / 0.9141 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.5166, allocations: 4 kB / 0.9141 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001289/0.5167, allocations: 93.52 kB / 0.9142 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.5167, allocations: 8 kB / 0.9142 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.5168, allocations: 0 / 0.9142 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.5168, allocations: 4 kB / 0.9142 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.5169, allocations: 23.94 kB / 0.9143 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.5169, allocations: 3.984 kB / 0.9143 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.495e-05/0.5169, allocations: 4 kB / 0.9143 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.517, allocations: 4 kB / 0.9143 GB, free: 12.31 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.114e-05/0.517, allocations: 120.2 kB / 0.9144 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.5171, allocations: 4 kB / 0.9144 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.399e-05/0.5171, allocations: 11.97 kB / 0.9144 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.5171, allocations: 0 / 0.9144 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.5171, allocations: 4 kB / 0.9144 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 6.268e-05/0.5172, allocations: 89 kB / 0.9145 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.5172, allocations: 3.938 kB / 0.9145 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.966e-05/0.5173, allocations: 11.94 kB / 0.9145 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.791e-05/0.5173, allocations: 3.984 kB / 0.9145 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002398/0.5176, allocations: 176.9 kB / 0.9147 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002395/0.5178, allocations: 294.7 kB / 0.915 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.23e-05/0.5179, allocations: 24.03 kB / 0.915 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 2.757e-05/0.5179, allocations: 79.22 kB / 0.915 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of Backend: time 3.81e-07/0.5179, allocations: 4 kB / 0.9151 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004168/0.5183, allocations: 147.4 kB / 0.9152 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of SimCode: time 0.0005922/0.5189, allocations: 0.7655 MB / 0.9159 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of Templates: time 0.00344/0.5224, allocations: 1.233 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)