Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.006534/0.006534, allocations: 101.6 kB / 15.73 MB, free: 6.047 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.001388/0.001388, allocations: 188.6 kB / 16.67 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.411/1.411, allocations: 251.7 MB / 0.5094 GB, free: 400 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 67.91 kB / 0.7257 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5572/0.5586, allocations: 104.7 MB / 0.828 GB, free: 2.664 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001957/0.5606, allocations: 1.275 MB / 0.8293 GB, free: 1.379 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.1526/0.7133, allocations: 147 MB / 0.9728 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.2e-05/0.7133, allocations: 0 / 0.9728 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.152e-05/0.7134, allocations: 0 / 0.9728 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.251e-05/0.7134, allocations: 15.91 kB / 0.9728 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004254/0.7139, allocations: 91.5 kB / 0.9729 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.313e-05/0.714, allocations: 27.92 kB / 0.973 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.329e-05/0.714, allocations: 4 kB / 0.973 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.974e-05/0.714, allocations: 19.97 kB / 0.973 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.354e-05/0.7141, allocations: 11.94 kB / 0.973 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.7141, allocations: 4 kB / 0.973 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002444/0.7144, allocations: 83.75 kB / 0.9731 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.7144, allocations: 7.984 kB / 0.9731 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.7144, allocations: 11.94 kB / 0.9731 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.7146, allocations: 71.39 kB / 0.9732 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.7146, allocations: 0 / 0.9732 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7146, allocations: 0 / 0.9732 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.7146, allocations: 0 / 0.9732 GB, free: 13.44 MB / 0.7794 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.000371/0.715, allocations: 349.8 kB / 0.9735 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.715, allocations: 15.97 kB / 0.9735 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.7152, allocations: 16.92 kB / 0.9735 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.001e-05/0.7153, allocations: 168.2 kB / 0.9737 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.7154, allocations: 3.938 kB / 0.9737 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.7154, allocations: 8 kB / 0.9737 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.7155, allocations: 53.66 kB / 0.9737 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.7155, allocations: 4 kB / 0.9738 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.7156, allocations: 4 kB / 0.9738 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.7156, allocations: 4 kB / 0.9738 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.364e-05/0.7156, allocations: 15.92 kB / 0.9738 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.7158, allocations: 165.6 kB / 0.9739 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.69e-05/0.7159, allocations: 46.56 kB / 0.974 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.889e-05/0.7159, allocations: 24.78 kB / 0.974 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.7159, allocations: 0 / 0.974 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.716, allocations: 34.56 kB / 0.974 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 2.034e-06/0.716, allocations: 0 / 0.974 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0007009/0.7167, allocations: 374.2 kB / 0.9744 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.7167, allocations: 55.41 kB / 0.9744 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.523e-05/0.7168, allocations: 97.84 kB / 0.9745 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.7168, allocations: 33.77 kB / 0.9746 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.61e-05/0.7168, allocations: 84.14 kB / 0.9746 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/0.7169, allocations: 39.45 kB / 0.9747 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-05/0.717, allocations: 25.72 kB / 0.9747 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.199e-05/0.7171, allocations: 318.8 kB / 0.975 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.401e-05/0.7171, allocations: 16 kB / 0.975 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.649e-05/0.7172, allocations: 37.7 kB / 0.9751 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.153e-05/0.7173, allocations: 73.62 kB / 0.9751 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.7173, allocations: 0 / 0.9751 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001346/0.7174, allocations: 94.2 kB / 0.9752 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.7174, allocations: 4 kB / 0.9752 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.7174, allocations: 7.938 kB / 0.9752 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.7175, allocations: 0 / 0.9752 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.7176, allocations: 19.98 kB / 0.9753 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.7176, allocations: 4 kB / 0.9753 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.465e-05/0.7176, allocations: 4 kB / 0.9753 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.7176, allocations: 4 kB / 0.9753 GB, free: 11 MB / 0.7794 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.107e-05/0.7177, allocations: 122.8 kB / 0.9754 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.7178, allocations: 0 / 0.9754 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.57e-05/0.7178, allocations: 11.91 kB / 0.9754 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.7178, allocations: 4 kB / 0.9754 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.7178, allocations: 0 / 0.9754 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.7178, allocations: 3.984 kB / 0.9754 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.718, allocations: 177.6 kB / 0.9756 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.718, allocations: 0 / 0.9756 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.7181, allocations: 19.98 kB / 0.9756 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.7181, allocations: 4 kB / 0.9756 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.7181, allocations: 4 kB / 0.9756 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.7181, allocations: 4 kB / 0.9756 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7181, allocations: 0 / 0.9756 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001997/0.7183, allocations: 144.8 kB / 0.9757 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.7184, allocations: 77.11 kB / 0.9758 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.7184, allocations: 4 kB / 0.9758 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.345e-05/0.7185, allocations: 8.031 kB / 0.9758 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.7186, allocations: 8 kB / 0.9758 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.7186, allocations: 7.938 kB / 0.9758 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.893e-05/0.7186, allocations: 75.28 kB / 0.9759 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7186, allocations: 0 / 0.9759 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002015/0.7188, allocations: 19.94 kB / 0.9759 GB, free: 10.23 MB / 0.7794 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.0001004/0.7189, allocations: 107.2 kB / 0.976 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001346/0.7191, allocations: 55.86 kB / 0.9761 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7191, allocations: 4.094 kB / 0.9761 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.859e-05/0.7191, allocations: 31.92 kB / 0.9761 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.7193, allocations: 8 kB / 0.9761 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005284/0.7199, allocations: 322.3 kB / 0.9764 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.7201, allocations: 0.6924 MB / 0.9771 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.146e-05/0.7202, allocations: 8.672 kB / 0.9771 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.776e-05/0.7202, allocations: 11.44 kB / 0.9771 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.7202, allocations: 0 / 0.9771 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of Templates: time 0.002739/0.7229, allocations: 0.644 MB / 0.9778 GB, free: 8.297 MB / 0.7794 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)