Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.75/1.75, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001065/0.001065, allocations: 172.8 kB / 361.4 MB, free: 6.84 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.613/1.613, allocations: 205.2 MB / 0.62 GB, free: 11.68 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000846/0.0008463, allocations: 95.3 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.988e-05/1.99e-05, allocations: 0 / 0.8518 GB, free: 2.664 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7995/0.7995, allocations: 115.3 MB / 0.9644 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 12.42/13.22, allocations: 4.611 GB / 5.575 GB, free: 58.53 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003384/13.22, allocations: 79.89 kB / 5.575 GB, free: 58.48 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.07712/13.3, allocations: 35.84 MB / 5.61 GB, free: 26.04 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.993e-06/13.3, allocations: 0 / 5.61 GB, free: 26.04 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.206e-05/13.3, allocations: 0 / 5.61 GB, free: 26.04 MB / 0.948 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.0005039/13.3, allocations: 356 kB / 5.611 GB, free: 25.65 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.041e-05/13.3, allocations: 8.031 kB / 5.611 GB, free: 25.64 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000248/13.3, allocations: 11.91 kB / 5.611 GB, free: 25.63 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/13.3, allocations: 159.1 kB / 5.611 GB, free: 25.43 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/13.3, allocations: 9.438 kB / 5.611 GB, free: 25.43 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.827e-05/13.3, allocations: 3.984 kB / 5.611 GB, free: 25.42 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001181/13.3, allocations: 13.41 kB / 5.611 GB, free: 25.41 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/13.3, allocations: 41.69 kB / 5.611 GB, free: 25.36 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/13.3, allocations: 7.891 kB / 5.611 GB, free: 25.36 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/13.3, allocations: 4 kB / 5.611 GB, free: 25.35 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/13.3, allocations: 4 kB / 5.611 GB, free: 25.35 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002214/13.3, allocations: 146.1 kB / 5.611 GB, free: 25.17 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.908e-05/13.3, allocations: 46.56 kB / 5.611 GB, free: 25.11 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.172e-05/13.3, allocations: 8.859 kB / 5.611 GB, free: 25.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/13.3, allocations: 0 / 5.611 GB, free: 25.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/13.3, allocations: 38.56 kB / 5.611 GB, free: 25.05 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/13.3, allocations: 4 kB / 5.611 GB, free: 25.05 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0008059/13.3, allocations: 334.1 kB / 5.611 GB, free: 24.67 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/13.3, allocations: 51.41 kB / 5.611 GB, free: 24.61 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.002e-05/13.3, allocations: 89 kB / 5.611 GB, free: 24.52 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/13.3, allocations: 25.7 kB / 5.611 GB, free: 24.48 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.436e-05/13.3, allocations: 91.08 kB / 5.612 GB, free: 24.39 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.756e-05/13.3, allocations: 39.39 kB / 5.612 GB, free: 24.36 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/13.3, allocations: 7.875 kB / 5.612 GB, free: 24.35 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.964e-05/13.3, allocations: 318.8 kB / 5.612 GB, free: 24.03 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.042e-05/13.3, allocations: 16.06 kB / 5.612 GB, free: 24.01 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.978e-05/13.3, allocations: 30.22 kB / 5.612 GB, free: 23.98 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.097e-05/13.3, allocations: 24.2 kB / 5.612 GB, free: 23.95 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/13.3, allocations: 0 / 5.612 GB, free: 23.95 MB / 0.948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001186/13.3, allocations: 84.95 kB / 5.612 GB, free: 23.87 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/13.3, allocations: 8.625 kB / 5.612 GB, free: 23.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/13.3, allocations: 0 / 5.612 GB, free: 23.86 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/13.3, allocations: 0 / 5.612 GB, free: 23.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/13.3, allocations: 33.73 kB / 5.612 GB, free: 23.83 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/13.3, allocations: 3.953 kB / 5.612 GB, free: 23.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.226e-05/13.3, allocations: 0 / 5.612 GB, free: 23.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/13.3, allocations: 4 kB / 5.612 GB, free: 23.82 MB / 0.948 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 () * 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 6.356e-05/13.3, allocations: 101 kB / 5.612 GB, free: 23.71 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.202e-05/13.3, allocations: 69.62 kB / 5.612 GB, free: 23.64 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/13.3, allocations: 11.91 kB / 5.612 GB, free: 23.63 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.835e-05/13.3, allocations: 8.406 kB / 5.612 GB, free: 23.62 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/13.3, allocations: 15.88 kB / 5.612 GB, free: 23.61 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/13.3, allocations: 0 / 5.612 GB, free: 23.61 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/13.3, allocations: 0 / 5.612 GB, free: 23.61 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.039e-05/13.3, allocations: 142.2 kB / 5.612 GB, free: 23.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/13.3, allocations: 0 / 5.612 GB, free: 23.43 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/13.3, allocations: 23.98 kB / 5.612 GB, free: 23.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/13.3, allocations: 4 kB / 5.612 GB, free: 23.41 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/13.3, allocations: 2.188 kB / 5.612 GB, free: 23.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/13.3, allocations: 4 kB / 5.612 GB, free: 23.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/13.3, allocations: 0 / 5.612 GB, free: 23.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/13.3, allocations: 125.5 kB / 5.613 GB, free: 23.27 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.87e-05/13.3, allocations: 89.05 kB / 5.613 GB, free: 23.16 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/13.3, allocations: 3.938 kB / 5.613 GB, free: 23.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.128e-05/13.3, allocations: 0 / 5.613 GB, free: 23.16 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.158e-05/13.3, allocations: 7.984 kB / 5.613 GB, free: 23.15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/13.3, allocations: 8 kB / 5.613 GB, free: 23.14 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.585e-05/13.3, allocations: 83.23 kB / 5.613 GB, free: 23.06 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.31e-07/13.3, allocations: 0 / 5.613 GB, free: 23.06 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003082/13.3, allocations: 39.98 kB / 5.613 GB, free: 23.02 MB / 0.948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001242/13.3, allocations: 1.221 MB / 5.614 GB, free: 21.78 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001432/13.3, allocations: 46.75 kB / 5.614 GB, free: 21.73 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/13.3, allocations: 0 / 5.614 GB, free: 21.73 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.173e-05/13.3, allocations: 27.94 kB / 5.614 GB, free: 21.71 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/13.3, allocations: 4 kB / 5.614 GB, free: 21.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006719/13.3, allocations: 314.9 kB / 5.614 GB, free: 21.35 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/13.3, allocations: 0.6931 MB / 5.615 GB, free: 20.63 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.465e-05/13.3, allocations: 12.66 kB / 5.615 GB, free: 20.62 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/13.3, allocations: 15.44 kB / 5.615 GB, free: 20.61 MB / 0.948 GB Notification: Performance of SimCode: time 4.2e-07/13.3, allocations: 0 / 5.615 GB, free: 20.61 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02677/13.33, allocations: 5.712 MB / 5.621 GB, free: 14.91 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/13.33, allocations: 164.3 kB / 5.621 GB, free: 14.72 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/15.17, allocations: 0 / 5.621 GB, free: 14.72 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)