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.001283/0.001283, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001421/0.00142, allocations: 192.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.144/1.144, allocations: 205.1 MB / 222.4 MB, free: 4.602 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 1.434/1.434, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001259/0.001259, allocations: 73.05 kB / 0.6716 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1586, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001868/0.1605, allocations: 1.276 MB / 0.7847 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.426/0.5866, allocations: 147 MB / 0.9283 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.794e-05/0.5866, allocations: 0 / 0.9283 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.412e-05/0.5867, allocations: 1.781 kB / 0.9283 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.619e-05/0.5867, allocations: 10.83 kB / 0.9283 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.587, allocations: 87.97 kB / 0.9284 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.768e-05/0.5871, allocations: 36.83 kB / 0.9284 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.491e-05/0.5872, allocations: 7.594 kB / 0.9284 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.792e-05/0.5872, allocations: 19.38 kB / 0.9284 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.586e-05/0.5872, allocations: 11.3 kB / 0.9284 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.848e-06/0.5873, allocations: 0 / 0.9284 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.5875, allocations: 81.92 kB / 0.9285 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.263e-05/0.5875, allocations: 9.422 kB / 0.9285 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.246e-05/0.5875, allocations: 16.89 kB / 0.9285 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.5876, allocations: 63 kB / 0.9286 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.5876, allocations: 2.531 kB / 0.9286 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5877, allocations: 1.203 kB / 0.9286 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.5877, allocations: 4 kB / 0.9286 GB, free: 3.059 MB / 0.7169 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.0004106/0.5881, allocations: 353.5 kB / 0.9289 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.5881, allocations: 9.094 kB / 0.929 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.983e-05/0.5881, allocations: 32.5 kB / 0.929 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.5883, allocations: 16.7 kB / 0.929 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.942e-05/0.5884, allocations: 164.9 kB / 0.9292 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.5884, allocations: 11.19 kB / 0.9292 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.5884, allocations: 6.984 kB / 0.9292 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.5885, allocations: 57.8 kB / 0.9292 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-06/0.5886, allocations: 1.406 kB / 0.9292 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.5886, allocations: 1.125 kB / 0.9292 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.5886, allocations: 1.156 kB / 0.9292 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.241e-05/0.5886, allocations: 18.78 kB / 0.9292 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001184/0.5887, allocations: 167.1 kB / 0.9294 GB, free: 18.22 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.552e-05/0.5888, allocations: 47.64 kB / 0.9295 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.191e-05/0.5888, allocations: 18.92 kB / 0.9295 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.163e-06/0.5889, allocations: 3.938 kB / 0.9295 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.5889, allocations: 37.67 kB / 0.9295 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.5889, allocations: 0 / 0.9295 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0005652/0.5895, allocations: 369 kB / 0.9299 GB, free: 17.89 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.5895, allocations: 56.06 kB / 0.9299 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.026e-05/0.5895, allocations: 94.89 kB / 0.93 GB, free: 17.72 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.5896, allocations: 28.67 kB / 0.93 GB, free: 17.69 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 1.961e-05/0.5896, allocations: 83.27 kB / 0.9301 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.5896, allocations: 43.62 kB / 0.9302 GB, free: 17.58 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.5897, allocations: 27.11 kB / 0.9302 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.229e-05/0.5897, allocations: 323.3 kB / 0.9305 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.893e-05/0.5898, allocations: 16.81 kB / 0.9305 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.838e-05/0.5898, allocations: 40.38 kB / 0.9305 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.008e-05/0.5899, allocations: 62.77 kB / 0.9306 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.5899, allocations: 0 / 0.9306 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001047/0.59, allocations: 100.7 kB / 0.9307 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.59, allocations: 5.922 kB / 0.9307 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.59, allocations: 0 / 0.9307 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.59, allocations: 5.891 kB / 0.9307 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.6e-05/0.5901, allocations: 23.67 kB / 0.9307 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.5901, allocations: 0.6094 kB / 0.9307 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.882e-05/0.5902, allocations: 10 kB / 0.9307 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.5902, allocations: 2.781 kB / 0.9307 GB, free: 17.16 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.032e-05/0.5903, allocations: 122.4 kB / 0.9309 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/0.5903, allocations: 3.172 kB / 0.9309 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.5903, allocations: 12.34 kB / 0.9309 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.5903, allocations: 2.75 kB / 0.9309 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.5903, allocations: 0 / 0.9309 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.5903, allocations: 0.6094 kB / 0.9309 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.99e-05/0.5904, allocations: 174.3 kB / 0.931 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5904, allocations: 0.75 kB / 0.931 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.5905, allocations: 21.27 kB / 0.9311 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.5905, allocations: 1.891 kB / 0.9311 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.5905, allocations: 5.75 kB / 0.9311 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5906, allocations: 2.25 kB / 0.9311 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5906, allocations: 0.7969 kB / 0.9311 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.5907, allocations: 138.7 kB / 0.9312 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.225e-05/0.5908, allocations: 91.41 kB / 0.9313 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.5908, allocations: 0.7969 kB / 0.9313 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.432e-05/0.5909, allocations: 8.281 kB / 0.9313 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.617e-05/0.5909, allocations: 7.781 kB / 0.9313 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.5909, allocations: 1.938 kB / 0.9313 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.63e-05/0.5909, allocations: 76.5 kB / 0.9314 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5909, allocations: 0 / 0.9314 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001726/0.5911, allocations: 20.75 kB / 0.9314 GB, free: 16.59 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003169/0.5914, allocations: 0.6688 MB / 0.9321 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001063/0.5915, allocations: 64.92 kB / 0.9321 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5916, allocations: 1.094 kB / 0.9321 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.972e-05/0.5916, allocations: 33.31 kB / 0.9322 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.5918, allocations: 6.641 kB / 0.9322 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009687/0.5928, allocations: 1.442 MB / 0.9336 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/0.5929, allocations: 0.6887 MB / 0.9342 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.658e-05/0.593, allocations: 13.34 kB / 0.9343 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/0.593, allocations: 21.02 kB / 0.9343 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of SimCode: time 6.81e-07/0.593, allocations: 0 / 0.9343 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.715/2.308, allocations: 1.656 MB / 0.9359 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/12.93, allocations: 10.75 kB / 0.9359 GB, free: 13.64 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/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)