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: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.715/2.715, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.001526/0.001526, allocations: 187.7 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.176/2.176, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001085/0.001085, allocations: 106 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004799/0.0004797, allocations: 11.12 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2145, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 14.83/15.05, allocations: 4.611 GB / 5.589 GB, free: 191.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/15.05, allocations: 86.44 kB / 5.59 GB, free: 191 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1323/15.18, allocations: 36.56 MB / 5.625 GB, free: 160.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.377e-06/15.18, allocations: 0 / 5.625 GB, free: 160.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.312e-06/15.18, allocations: 0 / 5.625 GB, free: 160.6 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.0003537/15.18, allocations: 356.4 kB / 5.626 GB, free: 160.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/15.18, allocations: 12.02 kB / 5.626 GB, free: 160.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.673e-05/15.18, allocations: 38.19 kB / 5.626 GB, free: 160.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002346/15.18, allocations: 20.69 kB / 5.626 GB, free: 160.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.946e-05/15.18, allocations: 163.1 kB / 5.626 GB, free: 159.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/15.18, allocations: 3.688 kB / 5.626 GB, free: 159.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/15.18, allocations: 4 kB / 5.626 GB, free: 159.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/15.18, allocations: 56.75 kB / 5.626 GB, free: 159.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/15.18, allocations: 0 / 5.626 GB, free: 159.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/15.18, allocations: 3.984 kB / 5.626 GB, free: 159.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/15.18, allocations: 0 / 5.626 GB, free: 159.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.033e-05/15.18, allocations: 23.11 kB / 5.626 GB, free: 159.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/15.18, allocations: 168.9 kB / 5.626 GB, free: 159.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/15.18, allocations: 45.88 kB / 5.626 GB, free: 159.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/15.18, allocations: 0 / 5.626 GB, free: 159.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/15.18, allocations: 30.56 kB / 5.626 GB, free: 159.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/15.18, allocations: 0 / 5.626 GB, free: 159.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0008884/15.18, allocations: 383.2 kB / 5.627 GB, free: 159.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/15.18, allocations: 51.41 kB / 5.627 GB, free: 159.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.46e-05/15.18, allocations: 89 kB / 5.627 GB, free: 159 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/15.18, allocations: 29.27 kB / 5.627 GB, free: 158.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/15.18, allocations: 80.14 kB / 5.627 GB, free: 158.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.771e-05/15.18, allocations: 42.77 kB / 5.627 GB, free: 158.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/15.18, allocations: 0 / 5.627 GB, free: 158.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.745e-05/15.18, allocations: 318.3 kB / 5.627 GB, free: 158.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.811e-05/15.18, allocations: 19.61 kB / 5.627 GB, free: 158.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.492e-05/15.18, allocations: 37.89 kB / 5.627 GB, free: 158.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.513e-05/15.18, allocations: 22.56 kB / 5.627 GB, free: 158.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/15.18, allocations: 0 / 5.627 GB, free: 158.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000175/15.18, allocations: 99.88 kB / 5.627 GB, free: 158.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/15.18, allocations: 4 kB / 5.627 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/15.18, allocations: 3.953 kB / 5.627 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/15.18, allocations: 7.984 kB / 5.627 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/15.18, allocations: 27.88 kB / 5.627 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/15.18, allocations: 4.141 kB / 5.627 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.139e-05/15.18, allocations: 4 kB / 5.627 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/15.18, allocations: 3.5 kB / 5.627 GB, free: 158.3 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 () * 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.685e-05/15.18, allocations: 117.4 kB / 5.627 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.945e-05/15.18, allocations: 7.984 kB / 5.627 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.335e-05/15.18, allocations: 14.97 kB / 5.627 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/15.18, allocations: 3.953 kB / 5.627 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/15.18, allocations: 4 kB / 5.627 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/15.18, allocations: 7.984 kB / 5.627 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/15.18, allocations: 168.9 kB / 5.628 GB, free: 158 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/15.18, allocations: 0 / 5.628 GB, free: 158 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/15.18, allocations: 23.94 kB / 5.628 GB, free: 157.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/15.18, allocations: 0 / 5.628 GB, free: 157.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/15.18, allocations: 7.297 kB / 5.628 GB, free: 157.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/15.18, allocations: 0 / 5.628 GB, free: 157.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/15.18, allocations: 7.953 kB / 5.628 GB, free: 157.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/15.18, allocations: 131.4 kB / 5.628 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.697e-05/15.18, allocations: 89.08 kB / 5.628 GB, free: 157.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/15.18, allocations: 3.812 kB / 5.628 GB, free: 157.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/15.18, allocations: 8 kB / 5.628 GB, free: 157.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/15.18, allocations: 7.938 kB / 5.628 GB, free: 157.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/15.18, allocations: 4 kB / 5.628 GB, free: 157.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.469e-05/15.18, allocations: 79.09 kB / 5.628 GB, free: 157.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.01e-07/15.18, allocations: 4 kB / 5.628 GB, free: 157.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003969/15.18, allocations: 50.42 kB / 5.628 GB, free: 157.6 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 () * 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 (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.001154/15.19, allocations: 1.123 MB / 5.629 GB, free: 156.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000233/15.19, allocations: 59.03 kB / 5.629 GB, free: 156.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/15.19, allocations: 0 / 5.629 GB, free: 156.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.149e-05/15.19, allocations: 27.06 kB / 5.629 GB, free: 156.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/15.19, allocations: 11.94 kB / 5.629 GB, free: 156.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/15.19, allocations: 0.8252 MB / 5.63 GB, free: 155.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/15.19, allocations: 0.6964 MB / 5.631 GB, free: 154.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001149/15.19, allocations: 12.66 kB / 5.631 GB, free: 154.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.133e-05/15.19, allocations: 18.88 kB / 5.631 GB, free: 154.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.172e-06/15.19, allocations: 0 / 5.631 GB, free: 154.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04025/15.23, allocations: 10.84 MB / 5.641 GB, free: 144.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002871/15.23, allocations: 195.5 kB / 5.642 GB, free: 143.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.996/18.22, allocations: 0 / 5.642 GB, free: 143.8 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)