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.77/1.77, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.001246/0.001246, allocations: 180.9 kB / 366.7 MB, free: 1.633 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.73/1.73, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.0009137/0.0009135, allocations: 96.8 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.039e-05/2.042e-05, allocations: 3.984 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7785/0.7785, allocations: 116.3 MB / 0.9733 GB, free: 76.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 13.36/14.14, allocations: 4.612 GB / 5.585 GB, free: 274.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003496/14.14, allocations: 81.3 kB / 5.585 GB, free: 274.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.07375/14.21, allocations: 35.84 MB / 5.62 GB, free: 270.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.895e-06/14.21, allocations: 0 / 5.62 GB, free: 270.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.15e-05/14.21, allocations: 7.906 kB / 5.62 GB, free: 270.2 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.0005389/14.21, allocations: 345.5 kB / 5.62 GB, free: 269.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.914e-05/14.21, allocations: 7.781 kB / 5.62 GB, free: 269.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002308/14.21, allocations: 15.56 kB / 5.62 GB, free: 269.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/14.21, allocations: 167 kB / 5.621 GB, free: 269.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/14.21, allocations: 0 / 5.621 GB, free: 269.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.287e-05/14.21, allocations: 7.094 kB / 5.621 GB, free: 269.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001064/14.21, allocations: 19.59 kB / 5.621 GB, free: 269.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/14.21, allocations: 47.73 kB / 5.621 GB, free: 269.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/14.21, allocations: 3.953 kB / 5.621 GB, free: 269.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/14.21, allocations: 0 / 5.621 GB, free: 269.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/14.21, allocations: 3.906 kB / 5.621 GB, free: 269.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002091/14.21, allocations: 137.4 kB / 5.621 GB, free: 269.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/14.21, allocations: 44.84 kB / 5.621 GB, free: 269.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.639e-05/14.21, allocations: 16.45 kB / 5.621 GB, free: 269.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/14.21, allocations: 7.906 kB / 5.621 GB, free: 269.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/14.21, allocations: 30.56 kB / 5.621 GB, free: 269.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/14.21, allocations: 0 / 5.621 GB, free: 269.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0008413/14.21, allocations: 337.1 kB / 5.621 GB, free: 269.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/14.21, allocations: 51.41 kB / 5.621 GB, free: 269 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/14.21, allocations: 96.45 kB / 5.621 GB, free: 268.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/14.21, allocations: 25.7 kB / 5.621 GB, free: 268.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.166e-05/14.21, allocations: 84.08 kB / 5.621 GB, free: 268.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.947e-05/14.21, allocations: 42.59 kB / 5.621 GB, free: 268.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/14.21, allocations: 0 / 5.621 GB, free: 268.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000118/14.21, allocations: 318.3 kB / 5.622 GB, free: 268.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.992e-05/14.21, allocations: 11.41 kB / 5.622 GB, free: 268.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.627e-05/14.21, allocations: 34.27 kB / 5.622 GB, free: 268.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.321e-05/14.21, allocations: 26.84 kB / 5.622 GB, free: 268.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/14.21, allocations: 0 / 5.622 GB, free: 268.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001159/14.21, allocations: 88.27 kB / 5.622 GB, free: 268.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/14.21, allocations: 5 kB / 5.622 GB, free: 268.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/14.21, allocations: 3.906 kB / 5.622 GB, free: 268.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/14.21, allocations: 0 / 5.622 GB, free: 268.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/14.21, allocations: 26.52 kB / 5.622 GB, free: 268.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/14.21, allocations: 7.891 kB / 5.622 GB, free: 268.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.097e-05/14.22, allocations: 1.312 kB / 5.622 GB, free: 268.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/14.22, allocations: 3.906 kB / 5.622 GB, free: 268.4 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.995e-05/14.22, allocations: 105 kB / 5.622 GB, free: 268.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.97e-05/14.22, allocations: 68.8 kB / 5.622 GB, free: 268.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/14.22, allocations: 11.23 kB / 5.622 GB, free: 268.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.162e-05/14.22, allocations: 15.84 kB / 5.622 GB, free: 268.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/14.22, allocations: 3.953 kB / 5.622 GB, free: 268.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/14.22, allocations: 3.906 kB / 5.622 GB, free: 268.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/14.22, allocations: 0 / 5.622 GB, free: 268.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/14.22, allocations: 140.2 kB / 5.622 GB, free: 268.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/14.22, allocations: 0 / 5.622 GB, free: 268.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/14.22, allocations: 27.03 kB / 5.622 GB, free: 268.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/14.22, allocations: 3.906 kB / 5.622 GB, free: 268.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/14.22, allocations: 0 / 5.622 GB, free: 268.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/14.22, allocations: 7.375 kB / 5.622 GB, free: 268.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/14.22, allocations: 0 / 5.622 GB, free: 268.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/14.22, allocations: 116.4 kB / 5.622 GB, free: 268 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.913e-05/14.22, allocations: 92.38 kB / 5.623 GB, free: 267.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/14.22, allocations: 0 / 5.623 GB, free: 267.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.542e-05/14.22, allocations: 7.906 kB / 5.623 GB, free: 267.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-05/14.22, allocations: 6.875 kB / 5.623 GB, free: 267.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/14.22, allocations: 7.891 kB / 5.623 GB, free: 267.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.247e-05/14.22, allocations: 83.17 kB / 5.623 GB, free: 267.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/14.22, allocations: 0 / 5.623 GB, free: 267.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003451/14.22, allocations: 44.22 kB / 5.623 GB, free: 267.8 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.001355/14.22, allocations: 1.206 MB / 5.624 GB, free: 267 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001243/14.22, allocations: 45.84 kB / 5.624 GB, free: 267 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/14.22, allocations: 0 / 5.624 GB, free: 267 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.564e-05/14.22, allocations: 35.03 kB / 5.624 GB, free: 267 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/14.22, allocations: 3.281 kB / 5.624 GB, free: 267 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007064/14.22, allocations: 320.4 kB / 5.624 GB, free: 266.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/14.22, allocations: 0.6879 MB / 5.625 GB, free: 266 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.651e-05/14.22, allocations: 9.703 kB / 5.625 GB, free: 266 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.555e-05/14.22, allocations: 17.83 kB / 5.625 GB, free: 266 MB / 0.948 GB Notification: Performance of SimCode: time 2.31e-07/14.22, allocations: 0 / 5.625 GB, free: 266 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03093/14.25, allocations: 5.712 MB / 5.631 GB, free: 265.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/14.25, allocations: 159.2 kB / 5.631 GB, free: 265.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.945/16.2, allocations: 0 / 5.631 GB, free: 265.2 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)