Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.556/1.556, allocations: 287.4 MB / 303.2 MB, free: 8.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 177.2 kB / 371.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.308/1.308, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008699/0.0008699, allocations: 96.02 kB / 0.7438 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003655, allocations: 18.81 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1763, allocations: 115.3 MB / 0.9793 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001081/0.1774, allocations: 0.982 MB / 0.9802 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5115/0.689, allocations: 133.5 MB / 1.111 GB, free: 2.07 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.107e-05/0.6891, allocations: 1.75 kB / 1.111 GB, free: 2.07 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.062e-05/0.6891, allocations: 3.938 kB / 1.111 GB, free: 2.066 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 8.451e-05/0.6892, allocations: 7.797 kB / 1.111 GB, free: 2.062 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004841/0.6897, allocations: 77.28 kB / 1.111 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 7.172e-05/0.6898, allocations: 27.59 kB / 1.111 GB, free: 2.043 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.26e-05/0.6899, allocations: 5.203 kB / 1.111 GB, free: 2.043 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.413e-05/0.6899, allocations: 18.23 kB / 1.111 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.281e-05/0.69, allocations: 15.61 kB / 1.111 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.69, allocations: 1.344 kB / 1.111 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002933/0.6903, allocations: 66.2 kB / 1.111 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.6903, allocations: 18.83 kB / 1.111 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.6904, allocations: 29.8 kB / 1.111 GB, free: 17.99 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.6906, allocations: 47.09 kB / 1.111 GB, free: 17.99 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6906, allocations: 1.312 kB / 1.111 GB, free: 17.99 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6906, allocations: 0 / 1.111 GB, free: 17.99 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.6906, allocations: 0 / 1.111 GB, free: 17.99 MB / 0.698 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.0004476/0.6911, allocations: 341.6 kB / 1.111 GB, free: 17.63 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.6911, allocations: 8.125 kB / 1.111 GB, free: 17.63 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001996/0.6914, allocations: 24.44 kB / 1.111 GB, free: 17.62 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.6915, allocations: 166.5 kB / 1.111 GB, free: 17.42 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.6915, allocations: 10.36 kB / 1.111 GB, free: 17.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.6915, allocations: 4.781 kB / 1.111 GB, free: 17.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.6917, allocations: 52.64 kB / 1.111 GB, free: 17.38 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.6917, allocations: 0.7031 kB / 1.111 GB, free: 17.38 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.6917, allocations: 4.656 kB / 1.111 GB, free: 17.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.6917, allocations: 1.406 kB / 1.111 GB, free: 17.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.473e-05/0.6918, allocations: 15.19 kB / 1.111 GB, free: 17.38 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001764/0.692, allocations: 167.2 kB / 1.112 GB, free: 17.19 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.206e-05/0.692, allocations: 49.8 kB / 1.112 GB, free: 17.16 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.072e-05/0.6921, allocations: 16.61 kB / 1.112 GB, free: 17.15 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.6921, allocations: 4.906 kB / 1.112 GB, free: 17.15 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.6921, allocations: 35.38 kB / 1.112 GB, free: 17.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.6921, allocations: 0 / 1.112 GB, free: 17.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0007413/0.6929, allocations: 370.8 kB / 1.112 GB, free: 16.85 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.6929, allocations: 53.16 kB / 1.112 GB, free: 16.79 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.481e-05/0.693, allocations: 96.61 kB / 1.112 GB, free: 16.69 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.693, allocations: 27.38 kB / 1.112 GB, free: 16.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.257e-05/0.6931, allocations: 82.11 kB / 1.112 GB, free: 16.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.94e-05/0.6931, allocations: 40.62 kB / 1.112 GB, free: 16.55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.6931, allocations: 4.375 kB / 1.112 GB, free: 16.55 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.09e-05/0.6932, allocations: 322.2 kB / 1.113 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.032e-05/0.6933, allocations: 18.09 kB / 1.113 GB, free: 16.23 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.84e-05/0.6933, allocations: 38.66 kB / 1.113 GB, free: 16.21 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.232e-05/0.6934, allocations: 60.23 kB / 1.113 GB, free: 16.19 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.6934, allocations: 0 / 1.113 GB, free: 16.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001375/0.6935, allocations: 98.56 kB / 1.113 GB, free: 16.15 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.6936, allocations: 5.406 kB / 1.113 GB, free: 16.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.6936, allocations: 5.781 kB / 1.113 GB, free: 16.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.6936, allocations: 1.062 kB / 1.113 GB, free: 16.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.6937, allocations: 20.84 kB / 1.113 GB, free: 16.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.6937, allocations: 1.312 kB / 1.113 GB, free: 16.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.533e-05/0.6938, allocations: 5.203 kB / 1.113 GB, free: 16.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.6938, allocations: 2.812 kB / 1.113 GB, free: 16.15 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.98e-05/0.6939, allocations: 119.4 kB / 1.113 GB, free: 16.03 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.6939, allocations: 3.281 kB / 1.113 GB, free: 16.03 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.112e-05/0.6939, allocations: 20.22 kB / 1.113 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.6939, allocations: 4.703 kB / 1.113 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.694, allocations: 0 / 1.113 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.045e-05/0.694, allocations: 87.23 kB / 1.113 GB, free: 15.92 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.6941, allocations: 1.766 kB / 1.113 GB, free: 15.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.63e-05/0.6941, allocations: 14.97 kB / 1.113 GB, free: 15.91 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.046e-05/0.6942, allocations: 5.438 kB / 1.113 GB, free: 15.91 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002473/0.6944, allocations: 172.1 kB / 1.113 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002442/0.6947, allocations: 293.5 kB / 1.114 GB, free: 15.59 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.789e-05/0.6947, allocations: 28.27 kB / 1.114 GB, free: 15.59 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.564e-05/0.6948, allocations: 76.92 kB / 1.114 GB, free: 15.52 MB / 0.698 GB Notification: Performance of Backend: time 2.91e-07/0.6948, allocations: 0 / 1.114 GB, free: 15.52 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004611/0.6952, allocations: 144.4 kB / 1.114 GB, free: 15.45 MB / 0.698 GB Notification: Performance of SimCode: time 0.0006349/0.6959, allocations: 0.8221 MB / 1.115 GB, free: 14.69 MB / 0.698 GB Notification: Performance of Templates: time 0.00355/0.6995, allocations: 1.126 MB / 1.116 GB, free: 14.54 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)