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.001131/0.001131, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001246/0.001246, allocations: 193.1 kB / 16.25 MB, free: 6.617 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.381/1.381, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.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.451/1.451, allocations: 251.6 MB / 0.5089 GB, free: 3.262 MB / 414.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.001355/0.001355, allocations: 67.91 kB / 0.6217 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5549/0.5563, allocations: 104.7 MB / 0.724 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00255/0.5589, allocations: 1.34 MB / 0.7253 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1472/0.7061, allocations: 144.9 MB / 0.8668 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.085e-05/0.7062, allocations: 0 / 0.8668 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 2.421e-05/0.7063, allocations: 4 kB / 0.8668 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 4.885e-05/0.7064, allocations: 7.875 kB / 0.8668 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003812/0.7068, allocations: 87.69 kB / 0.8669 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 6.781e-05/0.7068, allocations: 39.78 kB / 0.8669 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.629e-05/0.7069, allocations: 4 kB / 0.8669 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 4.525e-05/0.7069, allocations: 15.98 kB / 0.8669 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 5.555e-05/0.707, allocations: 11.92 kB / 0.8669 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.707, allocations: 4 kB / 0.8669 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002284/0.7073, allocations: 75.83 kB / 0.867 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 1.772e-05/0.7073, allocations: 11.98 kB / 0.867 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.7073, allocations: 15.92 kB / 0.867 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.7075, allocations: 65.86 kB / 0.8671 GB, free: 9.98 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.7075, allocations: 0 / 0.8671 GB, free: 9.98 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7075, allocations: 0 / 0.8671 GB, free: 9.98 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.7075, allocations: 0 / 0.8671 GB, free: 9.98 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.0003734/0.7079, allocations: 347.5 kB / 0.8674 GB, free: 9.594 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.7079, allocations: 12.03 kB / 0.8674 GB, free: 9.582 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001907/0.7081, allocations: 16.91 kB / 0.8674 GB, free: 9.566 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.594e-05/0.7082, allocations: 164.3 kB / 0.8676 GB, free: 9.367 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.7082, allocations: 11.94 kB / 0.8676 GB, free: 9.355 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.7083, allocations: 7.906 kB / 0.8676 GB, free: 9.348 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.7084, allocations: 57.61 kB / 0.8677 GB, free: 9.285 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.7084, allocations: 0 / 0.8677 GB, free: 9.285 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.7084, allocations: 0 / 0.8677 GB, free: 9.285 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.7084, allocations: 4 kB / 0.8677 GB, free: 9.281 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.063e-05/0.7085, allocations: 19.92 kB / 0.8677 GB, free: 9.262 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.7087, allocations: 165.6 kB / 0.8679 GB, free: 9.051 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 8.829e-05/0.7088, allocations: 50.56 kB / 0.8679 GB, free: 8.992 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.209e-05/0.7088, allocations: 28.78 kB / 0.8679 GB, free: 8.961 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.7088, allocations: 0 / 0.8679 GB, free: 8.961 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.7088, allocations: 30.56 kB / 0.868 GB, free: 8.922 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=7): time 8.01e-07/0.7089, allocations: 0 / 0.868 GB, free: 8.922 MB / 0.6856 GB Notification: Performance of matching and sorting (n=11): time 0.0006618/0.7095, allocations: 366.3 kB / 0.8683 GB, free: 8.512 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.7096, allocations: 59.41 kB / 0.8684 GB, free: 8.441 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.828e-05/0.7096, allocations: 97.84 kB / 0.8685 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.7097, allocations: 25.7 kB / 0.8685 GB, free: 8.305 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 2.714e-05/0.7097, allocations: 84.14 kB / 0.8686 GB, free: 8.219 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.7097, allocations: 39.45 kB / 0.8686 GB, free: 8.18 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/0.7098, allocations: 25.72 kB / 0.8686 GB, free: 8.148 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.905e-05/0.7099, allocations: 314.8 kB / 0.8689 GB, free: 7.832 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.597e-05/0.7099, allocations: 28.11 kB / 0.869 GB, free: 7.805 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.676e-05/0.71, allocations: 37.64 kB / 0.869 GB, free: 7.762 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.702e-05/0.7101, allocations: 58.25 kB / 0.869 GB, free: 7.699 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.7101, allocations: 3.938 kB / 0.8691 GB, free: 7.695 MB / 0.6856 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001216/0.7102, allocations: 105.4 kB / 0.8692 GB, free: 7.586 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.7102, allocations: 4 kB / 0.8692 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.7102, allocations: 4 kB / 0.8692 GB, free: 7.578 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.7102, allocations: 0 / 0.8692 GB, free: 7.578 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.7104, allocations: 23.98 kB / 0.8692 GB, free: 7.555 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.7104, allocations: 4 kB / 0.8692 GB, free: 7.551 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.134e-05/0.7104, allocations: 4 kB / 0.8692 GB, free: 7.547 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.7104, allocations: 4 kB / 0.8692 GB, free: 7.543 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 6.817e-05/0.7105, allocations: 125.7 kB / 0.8693 GB, free: 7.41 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.7105, allocations: 0 / 0.8693 GB, free: 7.41 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.602e-05/0.7105, allocations: 11.97 kB / 0.8693 GB, free: 7.395 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.7106, allocations: 4 kB / 0.8693 GB, free: 7.391 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.7106, allocations: 0 / 0.8693 GB, free: 7.391 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.7106, allocations: 7.984 kB / 0.8693 GB, free: 7.383 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.7107, allocations: 173.6 kB / 0.8695 GB, free: 7.164 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.7107, allocations: 0 / 0.8695 GB, free: 7.164 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.7108, allocations: 19.98 kB / 0.8695 GB, free: 7.145 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.7108, allocations: 0 / 0.8695 GB, free: 7.145 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.7108, allocations: 4 kB / 0.8695 GB, free: 7.141 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.7109, allocations: 0 / 0.8695 GB, free: 7.141 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.7109, allocations: 0 / 0.8695 GB, free: 7.141 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.7111, allocations: 140.9 kB / 0.8697 GB, free: 6.984 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-05/0.7111, allocations: 85.09 kB / 0.8697 GB, free: 6.883 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.7112, allocations: 8 kB / 0.8697 GB, free: 6.875 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.725e-05/0.7112, allocations: 3.984 kB / 0.8698 GB, free: 6.871 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.7113, allocations: 4 kB / 0.8698 GB, free: 6.867 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.7113, allocations: 8 kB / 0.8698 GB, free: 6.859 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 3.018e-05/0.7113, allocations: 75.28 kB / 0.8698 GB, free: 6.785 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7113, allocations: 0 / 0.8698 GB, free: 6.785 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0001981/0.7115, allocations: 19.94 kB / 0.8699 GB, free: 6.766 MB / 0.6856 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 9.789e-05/0.7116, allocations: 111.4 kB / 0.87 GB, free: 6.645 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0001387/0.7118, allocations: 59.92 kB / 0.87 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.7118, allocations: 0 / 0.87 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 4.033e-05/0.7118, allocations: 35.86 kB / 0.8701 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/0.712, allocations: 12 kB / 0.8701 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005479/0.7126, allocations: 328.9 kB / 0.8704 GB, free: 6.191 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.7128, allocations: 0.6924 MB / 0.8711 GB, free: 5.473 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 6.556e-05/0.7129, allocations: 4.672 kB / 0.8711 GB, free: 5.465 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.7129, allocations: 15.44 kB / 0.8711 GB, free: 5.453 MB / 0.6856 GB Notification: Performance of SimCode: time 2.81e-07/0.7129, allocations: 3.938 kB / 0.8711 GB, free: 5.449 MB / 0.6856 GB Notification: Performance of Templates: time 0.002686/0.7156, allocations: 0.6364 MB / 0.8717 GB, free: 4.824 MB / 0.6856 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)