Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.502/2.502, allocations: 251.1 MB / 266.7 MB, free: 11.56 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.001329/0.001329, allocations: 181.2 kB / 326.3 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.467/2.467, allocations: 205.4 MB / 0.5772 GB, free: 20.75 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.001198/0.001198, allocations: 82.11 kB / 0.6817 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006302/0.0006304, allocations: 11.78 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1954, allocations: 106.3 MB / 0.8995 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001353/0.1968, allocations: 0.9856 MB / 0.9005 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.228/0.4249, allocations: 133.5 MB / 1.031 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.208e-05/0.4249, allocations: 4 kB / 1.031 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.263e-05/0.425, allocations: 3.938 kB / 1.031 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 4.703e-05/0.425, allocations: 0 / 1.031 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004268/0.4255, allocations: 83.62 kB / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 7.518e-05/0.4256, allocations: 31.91 kB / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/0.4256, allocations: 0 / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.686e-05/0.4257, allocations: 15.94 kB / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.936e-05/0.4258, allocations: 15.98 kB / 1.031 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.4258, allocations: 0 / 1.031 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003234/0.4261, allocations: 79.69 kB / 1.031 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.4262, allocations: 4 kB / 1.031 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 3.931e-05/0.4262, allocations: 37.7 kB / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.4264, allocations: 39.95 kB / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.4264, allocations: 0 / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4264, allocations: 0 / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.4264, allocations: 0 / 1.031 GB, free: 10.32 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.000447/0.4269, allocations: 355.6 kB / 1.031 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.4269, allocations: 8.031 kB / 1.031 GB, free: 9.922 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002346/0.4272, allocations: 8.938 kB / 1.031 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.4273, allocations: 172.3 kB / 1.032 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.4273, allocations: 7.938 kB / 1.032 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.4274, allocations: 4 kB / 1.032 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.4276, allocations: 57.61 kB / 1.032 GB, free: 9.633 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.4276, allocations: 0 / 1.032 GB, free: 9.633 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.4276, allocations: 0 / 1.032 GB, free: 9.633 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.4276, allocations: 4 kB / 1.032 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.946e-05/0.4277, allocations: 19.97 kB / 1.032 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002258/0.4279, allocations: 169.5 kB / 1.032 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.4281, allocations: 54.5 kB / 1.032 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.259e-05/0.4281, allocations: 16.86 kB / 1.032 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.4282, allocations: 0 / 1.032 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.4282, allocations: 34.5 kB / 1.032 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.783e-06/0.4282, allocations: 0 / 1.032 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.00102/0.4292, allocations: 374.9 kB / 1.032 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.4293, allocations: 51.41 kB / 1.032 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.795e-05/0.4294, allocations: 93.86 kB / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.4294, allocations: 25.7 kB / 1.032 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.564e-05/0.4295, allocations: 84.14 kB / 1.033 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.815e-05/0.4296, allocations: 39.36 kB / 1.033 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.4296, allocations: 0 / 1.033 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.4298, allocations: 326.8 kB / 1.033 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.469e-05/0.4298, allocations: 16.12 kB / 1.033 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.135e-05/0.4299, allocations: 41.64 kB / 1.033 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.58e-05/0.43, allocations: 24.06 kB / 1.033 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.43, allocations: 0 / 1.033 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000212/0.4302, allocations: 93.66 kB / 1.033 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.4303, allocations: 5.562 kB / 1.033 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4303, allocations: 0 / 1.033 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.4303, allocations: 3.938 kB / 1.033 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.4305, allocations: 24 kB / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.4306, allocations: 11.92 kB / 1.033 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.396e-05/0.4306, allocations: 4 kB / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.4306, allocations: 0 / 1.033 GB, free: 7.973 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.4308, allocations: 121.8 kB / 1.033 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.4308, allocations: 11.91 kB / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.277e-05/0.4308, allocations: 7.969 kB / 1.033 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4309, allocations: 3.938 kB / 1.033 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4309, allocations: 0 / 1.033 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.447e-05/0.431, allocations: 89.03 kB / 1.033 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.431, allocations: 11.94 kB / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.4312, allocations: 4 kB / 1.033 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.4312, allocations: 7.984 kB / 1.033 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000405/0.4316, allocations: 172.8 kB / 1.034 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003803/0.432, allocations: 296.8 kB / 1.034 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.205e-05/0.4321, allocations: 24.03 kB / 1.034 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.329e-05/0.4322, allocations: 83.22 kB / 1.034 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of Backend: time 6.51e-07/0.4322, allocations: 0 / 1.034 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005758/0.4327, allocations: 138.3 kB / 1.034 GB, free: 6.957 MB / 0.6823 GB Notification: Performance of SimCode: time 0.0009824/0.4337, allocations: 0.824 MB / 1.035 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of Templates: time 0.005041/0.4388, allocations: 1.138 MB / 1.036 GB, free: 4.953 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)