Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.82/1.82, allocations: 289.7 MB / 302.2 MB, free: 2.121 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.001103/0.001103, allocations: 180.6 kB / 371.6 MB, free: 3.336 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.548/1.548, allocations: 205.2 MB / 0.6309 GB, free: 11.74 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.0009522/0.000952, allocations: 89.45 kB / 0.745 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.102e-05/4.104e-05, allocations: 4 kB / 0.8663 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2739, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 13.52/13.79, allocations: 4.612 GB / 5.592 GB, free: 199.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/13.79, allocations: 80.66 kB / 5.592 GB, free: 199.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06547/13.86, allocations: 36.48 MB / 5.628 GB, free: 162.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.282e-06/13.86, allocations: 0 / 5.628 GB, free: 162.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.542e-06/13.86, allocations: 0 / 5.628 GB, free: 162.9 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.0002985/13.86, allocations: 350.5 kB / 5.628 GB, free: 162.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/13.86, allocations: 12.03 kB / 5.628 GB, free: 162.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.123e-05/13.86, allocations: 35.12 kB / 5.628 GB, free: 162.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/13.86, allocations: 14.03 kB / 5.628 GB, free: 162.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.265e-05/13.86, allocations: 170.9 kB / 5.628 GB, free: 162.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/13.86, allocations: 4 kB / 5.628 GB, free: 162.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/13.86, allocations: 6.344 kB / 5.628 GB, free: 162.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/13.86, allocations: 49.69 kB / 5.628 GB, free: 162.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/13.86, allocations: 0.6562 kB / 5.628 GB, free: 162.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/13.86, allocations: 7.953 kB / 5.628 GB, free: 162.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/13.86, allocations: 0 / 5.628 GB, free: 162.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.77e-05/13.86, allocations: 19.97 kB / 5.628 GB, free: 162.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000158/13.86, allocations: 165.6 kB / 5.629 GB, free: 161.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.704e-05/13.86, allocations: 54.5 kB / 5.629 GB, free: 161.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.756e-05/13.86, allocations: 16.86 kB / 5.629 GB, free: 161.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/13.86, allocations: 0.6562 kB / 5.629 GB, free: 161.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/13.86, allocations: 30.56 kB / 5.629 GB, free: 161.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/13.86, allocations: 0 / 5.629 GB, free: 161.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0006145/13.86, allocations: 364.4 kB / 5.629 GB, free: 161.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/13.86, allocations: 59.34 kB / 5.629 GB, free: 161.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.064e-05/13.86, allocations: 85 kB / 5.629 GB, free: 161.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/13.86, allocations: 29.7 kB / 5.629 GB, free: 161.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 1.816e-05/13.86, allocations: 80.89 kB / 5.629 GB, free: 161.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/13.86, allocations: 51.45 kB / 5.629 GB, free: 161.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/13.86, allocations: 4 kB / 5.629 GB, free: 161.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.078e-05/13.86, allocations: 310.8 kB / 5.63 GB, free: 160.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.821e-05/13.86, allocations: 16 kB / 5.63 GB, free: 160.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.165e-05/13.86, allocations: 37.7 kB / 5.63 GB, free: 160.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.737e-05/13.86, allocations: 19.98 kB / 5.63 GB, free: 160.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/13.86, allocations: 0 / 5.63 GB, free: 160.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001085/13.86, allocations: 102.2 kB / 5.63 GB, free: 160.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/13.86, allocations: 12 kB / 5.63 GB, free: 160.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/13.86, allocations: 0 / 5.63 GB, free: 160.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/13.86, allocations: 3.953 kB / 5.63 GB, free: 160.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/13.86, allocations: 27.97 kB / 5.63 GB, free: 160.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/13.86, allocations: 0 / 5.63 GB, free: 160.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.107e-05/13.86, allocations: 4 kB / 5.63 GB, free: 160.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/13.86, allocations: 4 kB / 5.63 GB, free: 160.5 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 7.046e-05/13.86, allocations: 115.4 kB / 5.63 GB, free: 160.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/13.86, allocations: 0 / 5.63 GB, free: 160.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.783e-05/13.86, allocations: 12.09 kB / 5.63 GB, free: 160.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/13.86, allocations: 7.953 kB / 5.63 GB, free: 160.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/13.86, allocations: 0 / 5.63 GB, free: 160.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/13.86, allocations: 0 / 5.63 GB, free: 160.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.818e-05/13.86, allocations: 169.7 kB / 5.63 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/13.86, allocations: 0 / 5.63 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/13.86, allocations: 23.98 kB / 5.63 GB, free: 160.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/13.86, allocations: 0.9375 kB / 5.63 GB, free: 160.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/13.86, allocations: 4 kB / 5.63 GB, free: 160.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/13.86, allocations: 0 / 5.63 GB, free: 160.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/13.86, allocations: 3.953 kB / 5.63 GB, free: 160.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/13.86, allocations: 140.9 kB / 5.63 GB, free: 160 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.885e-05/13.86, allocations: 81.11 kB / 5.63 GB, free: 159.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/13.86, allocations: 8.031 kB / 5.63 GB, free: 159.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.405e-05/13.86, allocations: 8 kB / 5.63 GB, free: 159.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/13.86, allocations: 4 kB / 5.63 GB, free: 159.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/13.86, allocations: 7.953 kB / 5.63 GB, free: 159.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.413e-05/13.86, allocations: 88.02 kB / 5.631 GB, free: 159.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.61e-07/13.86, allocations: 0 / 5.631 GB, free: 159.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003077/13.86, allocations: 44 kB / 5.631 GB, free: 159.7 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.001002/13.86, allocations: 1.131 MB / 5.632 GB, free: 158.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001161/13.86, allocations: 57.47 kB / 5.632 GB, free: 158.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/13.86, allocations: 0 / 5.632 GB, free: 158.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.114e-05/13.86, allocations: 24 kB / 5.632 GB, free: 158.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/13.86, allocations: 8.516 kB / 5.632 GB, free: 158.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005491/13.86, allocations: 334 kB / 5.632 GB, free: 158.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/13.86, allocations: 0.6926 MB / 5.633 GB, free: 157.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.749e-05/13.86, allocations: 8.672 kB / 5.633 GB, free: 157.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/13.86, allocations: 23.42 kB / 5.633 GB, free: 157.4 MB / 0.948 GB Notification: Performance of SimCode: time 2.5e-07/13.86, allocations: 0 / 5.633 GB, free: 157.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/13.89, allocations: 12.63 MB / 5.645 GB, free: 144.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/13.89, allocations: 178.7 kB / 5.645 GB, free: 144.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.224/16.11, allocations: 0 / 5.645 GB, free: 144.6 MB / 0.948 GB (rm -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)