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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001791/0.00179, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.574/2.574, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.479/2.479, allocations: 292.6 MB / 0.5498 GB, free: 14.62 MB / 462.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.001009/0.001009, allocations: 12.38 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4139, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002329/0.4163, allocations: 0.9804 MB / 0.7882 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 1.324/1.741, allocations: 124.3 MB / 0.9096 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.084e-05/1.741, allocations: 1.031 kB / 0.9096 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.235e-05/1.741, allocations: 1.734 kB / 0.9096 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.705e-05/1.741, allocations: 4.484 kB / 0.9096 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007052/1.742, allocations: 80.23 kB / 0.9096 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001328/1.742, allocations: 25.56 kB / 0.9097 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.261e-05/1.742, allocations: 2.5 kB / 0.9097 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.16e-05/1.742, allocations: 17.52 kB / 0.9097 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/1.742, allocations: 13.92 kB / 0.9097 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/1.742, allocations: 1.719 kB / 0.9097 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005558/1.743, allocations: 82.19 kB / 0.9098 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.963e-05/1.743, allocations: 11.11 kB / 0.9098 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005087/1.743, allocations: 30.09 kB / 0.9098 GB, free: 22.25 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002514/1.744, allocations: 48.94 kB / 0.9099 GB, free: 22.25 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.744, allocations: 5 kB / 0.9099 GB, free: 22.25 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.057e-06/1.744, allocations: 0 / 0.9099 GB, free: 22.25 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.442e-06/1.744, allocations: 0 / 0.9099 GB, free: 22.25 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.0006207/1.744, allocations: 336.7 kB / 0.9102 GB, free: 21.89 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.837e-05/1.744, allocations: 8.969 kB / 0.9102 GB, free: 21.89 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.451e-05/1.744, allocations: 33.7 kB / 0.9102 GB, free: 21.86 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000387/1.745, allocations: 21.45 kB / 0.9103 GB, free: 21.85 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/1.745, allocations: 168.8 kB / 0.9104 GB, free: 21.65 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/1.745, allocations: 8.938 kB / 0.9104 GB, free: 21.64 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/1.745, allocations: 4.078 kB / 0.9104 GB, free: 21.64 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/1.745, allocations: 50.03 kB / 0.9105 GB, free: 21.61 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/1.745, allocations: 0 / 0.9105 GB, free: 21.61 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/1.745, allocations: 6.125 kB / 0.9105 GB, free: 21.61 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/1.745, allocations: 1.188 kB / 0.9105 GB, free: 21.61 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.837e-05/1.746, allocations: 22.89 kB / 0.9105 GB, free: 21.61 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002664/1.746, allocations: 159.9 kB / 0.9107 GB, free: 21.42 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/1.746, allocations: 52.38 kB / 0.9107 GB, free: 21.39 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/1.746, allocations: 0.8125 kB / 0.9107 GB, free: 21.39 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/1.746, allocations: 39.36 kB / 0.9107 GB, free: 21.35 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.783e-06/1.746, allocations: 0.6875 kB / 0.9107 GB, free: 21.35 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.001272/1.747, allocations: 365.6 kB / 0.9111 GB, free: 21.1 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/1.748, allocations: 61.7 kB / 0.9112 GB, free: 21.03 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.496e-05/1.748, allocations: 96.45 kB / 0.9112 GB, free: 20.93 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/1.748, allocations: 28.86 kB / 0.9113 GB, free: 20.9 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/1.748, allocations: 81.64 kB / 0.9114 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.819e-05/1.748, allocations: 37.8 kB / 0.9114 GB, free: 20.79 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.112e-05/1.748, allocations: 2.625 kB / 0.9114 GB, free: 20.79 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001648/1.748, allocations: 316.8 kB / 0.9117 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.472e-05/1.748, allocations: 17.59 kB / 0.9117 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/1.748, allocations: 43.52 kB / 0.9118 GB, free: 20.46 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/1.748, allocations: 23.66 kB / 0.9118 GB, free: 20.46 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.748, allocations: 0.9375 kB / 0.9118 GB, free: 20.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002964/1.749, allocations: 97.64 kB / 0.9119 GB, free: 20.42 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/1.749, allocations: 4.5 kB / 0.9119 GB, free: 20.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/1.749, allocations: 1.672 kB / 0.9119 GB, free: 20.42 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/1.749, allocations: 1.438 kB / 0.9119 GB, free: 20.42 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/1.749, allocations: 24.33 kB / 0.9119 GB, free: 20.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/1.749, allocations: 5.016 kB / 0.9119 GB, free: 20.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.041e-05/1.749, allocations: 7.906 kB / 0.9119 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/1.749, allocations: 8.656 kB / 0.9119 GB, free: 20.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001589/1.749, allocations: 113.8 kB / 0.912 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/1.749, allocations: 3.406 kB / 0.912 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.401e-05/1.749, allocations: 11.61 kB / 0.912 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/1.75, allocations: 4.5 kB / 0.912 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/1.75, allocations: 0 / 0.912 GB, free: 20.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/1.75, allocations: 6.109 kB / 0.9121 GB, free: 20.29 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/1.75, allocations: 169.6 kB / 0.9122 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/1.75, allocations: 5.969 kB / 0.9122 GB, free: 20.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/1.75, allocations: 20.89 kB / 0.9122 GB, free: 20.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/1.75, allocations: 0.7188 kB / 0.9122 GB, free: 20.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/1.75, allocations: 5.047 kB / 0.9122 GB, free: 20.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/1.75, allocations: 1.188 kB / 0.9122 GB, free: 20.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.75, allocations: 80 / 0.9122 GB, free: 20.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004329/1.751, allocations: 136.5 kB / 0.9124 GB, free: 20.03 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/1.751, allocations: 91.31 kB / 0.9125 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/1.751, allocations: 6.906 kB / 0.9125 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/1.751, allocations: 4.375 kB / 0.9125 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/1.751, allocations: 6.438 kB / 0.9125 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/1.751, allocations: 4.812 kB / 0.9125 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.881e-05/1.751, allocations: 76.69 kB / 0.9126 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.21e-07/1.751, allocations: 0 / 0.9126 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004124/1.752, allocations: 16.34 kB / 0.9126 GB, free: 19.86 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 (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.0008673/1.753, allocations: 0.6775 MB / 0.9132 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002777/1.753, allocations: 60.5 kB / 0.9133 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.753, allocations: 0 / 0.9133 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.235e-05/1.753, allocations: 29.78 kB / 0.9133 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/1.753, allocations: 5.172 kB / 0.9133 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/1.755, allocations: 0.8293 MB / 0.9141 GB, free: 18.61 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004618/1.756, allocations: 0.6884 MB / 0.9148 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001432/1.756, allocations: 10.22 kB / 0.9148 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.107e-05/1.756, allocations: 20.39 kB / 0.9148 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of SimCode: time 5.91e-07/1.756, allocations: 0 / 0.9148 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0443/1.8, allocations: 1.418 MB / 0.9162 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004721/1.801, allocations: 195.4 kB / 0.9164 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.869/4.67, allocations: 0 / 0.9164 GB, free: 17.51 MB / 0.7325 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) Environment - environmentSimulation: