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.007206/0.007206, allocations: 99.92 kB / 15.73 MB, free: 6.043 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.001552/0.001552, allocations: 195.9 kB / 16.68 MB, free: 5.961 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.466/1.466, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.652/1.652, allocations: 251.7 MB / 0.5094 GB, free: 3.066 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.001609/0.001609, allocations: 71.89 kB / 0.7258 GB, free: 9.031 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2064, allocations: 104.7 MB / 0.828 GB, free: 228 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002425/0.2088, allocations: 1.286 MB / 0.8293 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.6992/0.908, allocations: 147 MB / 0.9728 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.415e-05/0.9081, allocations: 0 / 0.9728 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.675e-05/0.9082, allocations: 8.047 kB / 0.9728 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.55e-05/0.9083, allocations: 7.922 kB / 0.9728 GB, free: 8.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004459/0.9088, allocations: 92.2 kB / 0.9729 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.002e-05/0.9089, allocations: 32.27 kB / 0.973 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.687e-05/0.9089, allocations: 4.219 kB / 0.973 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.926e-05/0.909, allocations: 20.91 kB / 0.973 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.907e-05/0.9091, allocations: 15.3 kB / 0.973 GB, free: 8.414 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.9091, allocations: 2.281 kB / 0.973 GB, free: 8.414 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002714/0.9094, allocations: 82.59 kB / 0.9731 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.9094, allocations: 7.312 kB / 0.9731 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.373e-05/0.9094, allocations: 14.78 kB / 0.9731 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.9096, allocations: 69.83 kB / 0.9732 GB, free: 8.379 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.9096, allocations: 5.562 kB / 0.9732 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9096, allocations: 4 kB / 0.9732 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.9096, allocations: 0 / 0.9732 GB, free: 8.371 MB / 0.7325 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.0004747/0.9101, allocations: 350.2 kB / 0.9735 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.9102, allocations: 9.188 kB / 0.9735 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002136/0.9104, allocations: 13.05 kB / 0.9735 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.9105, allocations: 164.5 kB / 0.9737 GB, free: 7.816 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.9105, allocations: 9.344 kB / 0.9737 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.9106, allocations: 7.812 kB / 0.9737 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.9107, allocations: 54.33 kB / 0.9738 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.9107, allocations: 0 / 0.9738 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.9108, allocations: 1.188 kB / 0.9738 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.9108, allocations: 1 kB / 0.9738 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.709e-05/0.9108, allocations: 21.09 kB / 0.9738 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/0.911, allocations: 163.2 kB / 0.9739 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.9111, allocations: 49.84 kB / 0.974 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.245e-05/0.9112, allocations: 18.73 kB / 0.974 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.9112, allocations: 3.672 kB / 0.974 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.9112, allocations: 36.66 kB / 0.974 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.9113, allocations: 0.875 kB / 0.974 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0007942/0.9121, allocations: 372.3 kB / 0.9744 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.9121, allocations: 56 kB / 0.9745 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.16e-05/0.9122, allocations: 98.03 kB / 0.9745 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.9122, allocations: 30.52 kB / 0.9746 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.079e-05/0.9122, allocations: 80.14 kB / 0.9747 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.9123, allocations: 34.69 kB / 0.9747 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.9123, allocations: 30.03 kB / 0.9747 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.9125, allocations: 318.3 kB / 0.975 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.61e-05/0.9125, allocations: 20.2 kB / 0.975 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.64e-05/0.9126, allocations: 40.08 kB / 0.9751 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.936e-05/0.9127, allocations: 64.62 kB / 0.9751 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.9127, allocations: 1.344 kB / 0.9751 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001316/0.9128, allocations: 86.69 kB / 0.9752 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.9128, allocations: 9.344 kB / 0.9752 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.9128, allocations: 1.312 kB / 0.9752 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.9129, allocations: 4.219 kB / 0.9752 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.913, allocations: 23.52 kB / 0.9753 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.913, allocations: 1.531 kB / 0.9753 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.205e-05/0.913, allocations: 8.625 kB / 0.9753 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.9131, allocations: 2.562 kB / 0.9753 GB, free: 6.516 MB / 0.7325 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 7.136e-05/0.9131, allocations: 121.2 kB / 0.9754 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.9132, allocations: 6.75 kB / 0.9754 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.114e-05/0.9132, allocations: 13.11 kB / 0.9754 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.9132, allocations: 1.312 kB / 0.9754 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.9132, allocations: 2.469 kB / 0.9754 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.9132, allocations: 0 / 0.9754 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.9134, allocations: 175.6 kB / 0.9756 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.9134, allocations: 9.203 kB / 0.9756 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.9135, allocations: 24.05 kB / 0.9756 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.9135, allocations: 3.797 kB / 0.9756 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.9135, allocations: 0 / 0.9756 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.9135, allocations: 1.188 kB / 0.9756 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.9135, allocations: 3.625 kB / 0.9756 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.9138, allocations: 136.6 kB / 0.9757 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.395e-05/0.9139, allocations: 82.45 kB / 0.9758 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.9139, allocations: 9 kB / 0.9758 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.977e-05/0.914, allocations: 4.875 kB / 0.9758 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.914, allocations: 9.297 kB / 0.9758 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.914, allocations: 6.094 kB / 0.9759 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.33e-05/0.9141, allocations: 76.75 kB / 0.9759 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9141, allocations: 0 / 0.9759 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001977/0.9143, allocations: 16.12 kB / 0.9759 GB, free: 5.93 MB / 0.7325 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.0001049/0.9144, allocations: 106.6 kB / 0.976 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001392/0.9145, allocations: 59.66 kB / 0.9761 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9145, allocations: 0 / 0.9761 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.033e-05/0.9146, allocations: 26.69 kB / 0.9761 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.9148, allocations: 7.906 kB / 0.9761 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005452/0.9154, allocations: 327.2 kB / 0.9764 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.9156, allocations: 0.6913 MB / 0.9771 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.172e-05/0.9157, allocations: 10.67 kB / 0.9771 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.261e-05/0.9157, allocations: 11.88 kB / 0.9771 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of SimCode: time 2.01e-07/0.9157, allocations: 0 / 0.9771 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of Templates: time 0.0031/0.9188, allocations: 0.658 MB / 0.9778 GB, free: 4.777 MB / 0.7325 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)