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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.356/1.356, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000994/0.0009941, allocations: 170.7 kB / 326.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205 MB / 0.5767 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006794/0.0006794, allocations: 90.17 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002748/0.0002748, allocations: 8.938 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1454, allocations: 105.4 MB / 0.8967 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001096/0.1465, allocations: 1.01 MB / 0.8977 GB, free: 67.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1222/0.2687, allocations: 144.7 MB / 1.039 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.501e-05/0.2688, allocations: 4 kB / 1.039 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 1.874e-05/0.2688, allocations: 3.938 kB / 1.039 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 4.8e-05/0.2689, allocations: 7.969 kB / 1.039 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.2692, allocations: 79.64 kB / 1.039 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 5.068e-05/0.2692, allocations: 27.92 kB / 1.039 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 2.999e-05/0.2693, allocations: 0 / 1.039 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.468e-05/0.2693, allocations: 23.86 kB / 1.039 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.29e-05/0.2694, allocations: 19.91 kB / 1.039 GB, free: 1.777 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.2694, allocations: 4 kB / 1.039 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002136/0.2696, allocations: 71.83 kB / 1.039 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.2697, allocations: 11.98 kB / 1.039 GB, free: 1.691 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 2.369e-05/0.2697, allocations: 15.94 kB / 1.039 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.2698, allocations: 72.08 kB / 1.039 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2698, allocations: 0 / 1.039 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2698, allocations: 3.938 kB / 1.039 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.886e-06/0.2698, allocations: 0 / 1.039 GB, free: 1.602 MB / 0.6823 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.0002942/0.2701, allocations: 339.5 kB / 1.04 GB, free: 1.223 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.2702, allocations: 8.031 kB / 1.04 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.2703, allocations: 12.92 kB / 1.04 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.64e-05/0.2704, allocations: 164.4 kB / 1.04 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.2705, allocations: 3.938 kB / 1.04 GB, free: 1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.2705, allocations: 11.91 kB / 1.04 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.2706, allocations: 49.67 kB / 1.04 GB, free: 0.9336 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.2706, allocations: 0 / 1.04 GB, free: 0.9336 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.2706, allocations: 0 / 1.04 GB, free: 0.9336 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2706, allocations: 8 kB / 1.04 GB, free: 0.9258 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.298e-05/0.2707, allocations: 23.92 kB / 1.04 GB, free: 0.9023 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001364/0.2708, allocations: 165.5 kB / 1.04 GB, free: 0.6914 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.89e-05/0.2709, allocations: 50.56 kB / 1.04 GB, free: 0.6328 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.293e-05/0.2709, allocations: 12.84 kB / 1.04 GB, free: 0.6172 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.2709, allocations: 7.984 kB / 1.04 GB, free: 0.6094 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.271, allocations: 38.56 kB / 1.04 GB, free: 0.5625 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.093e-06/0.271, allocations: 0 / 1.04 GB, free: 0.5625 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0005968/0.2716, allocations: 370.3 kB / 1.041 GB, free: 152 kB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.2716, allocations: 51.41 kB / 1.041 GB, free: 88 kB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.236e-05/0.2717, allocations: 93.86 kB / 1.041 GB, free: 15.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.2717, allocations: 29.7 kB / 1.041 GB, free: 15.95 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.53e-05/0.2717, allocations: 88.25 kB / 1.041 GB, free: 15.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.2718, allocations: 35.41 kB / 1.041 GB, free: 15.82 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.2718, allocations: 21.7 kB / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.044e-05/0.2719, allocations: 322.8 kB / 1.041 GB, free: 15.47 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.061e-05/0.2719, allocations: 19.98 kB / 1.041 GB, free: 15.45 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.409e-05/0.272, allocations: 37.7 kB / 1.041 GB, free: 15.41 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.641e-05/0.2721, allocations: 62.17 kB / 1.041 GB, free: 15.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2721, allocations: 4 kB / 1.041 GB, free: 15.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001172/0.2722, allocations: 93.67 kB / 1.041 GB, free: 15.24 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.2722, allocations: 8 kB / 1.041 GB, free: 15.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.2722, allocations: 0 / 1.041 GB, free: 15.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.2722, allocations: 3.938 kB / 1.041 GB, free: 15.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.2724, allocations: 27.92 kB / 1.041 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2724, allocations: 0 / 1.041 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.02e-05/0.2724, allocations: 0 / 1.041 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.2724, allocations: 11.94 kB / 1.041 GB, free: 15.19 MB / 0.698 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 6.928e-05/0.2725, allocations: 117.8 kB / 1.042 GB, free: 15.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.2725, allocations: 11.91 kB / 1.042 GB, free: 15.05 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.2725, allocations: 7.969 kB / 1.042 GB, free: 15.04 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2726, allocations: 0 / 1.042 GB, free: 15.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2726, allocations: 0 / 1.042 GB, free: 15.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.665e-05/0.2726, allocations: 85.09 kB / 1.042 GB, free: 14.94 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.2726, allocations: 7.938 kB / 1.042 GB, free: 14.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.857e-05/0.2727, allocations: 4 kB / 1.042 GB, free: 14.93 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.105e-05/0.2728, allocations: 7.922 kB / 1.042 GB, free: 14.92 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002204/0.273, allocations: 184.8 kB / 1.042 GB, free: 14.73 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002151/0.2732, allocations: 278.7 kB / 1.042 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.417e-05/0.2733, allocations: 31.97 kB / 1.042 GB, free: 14.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.473e-05/0.2733, allocations: 79.22 kB / 1.042 GB, free: 14.34 MB / 0.698 GB Notification: Performance of Backend: time 2.01e-07/0.2733, allocations: 0 / 1.042 GB, free: 14.34 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000375/0.2737, allocations: 154.4 kB / 1.042 GB, free: 14.18 MB / 0.698 GB Notification: Performance of SimCode: time 0.00058/0.2743, allocations: 0.7695 MB / 1.043 GB, free: 13.36 MB / 0.698 GB Notification: Performance of Templates: time 0.002994/0.2773, allocations: 1.161 MB / 1.044 GB, free: 12.21 MB / 0.698 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)