Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.383/1.383, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 193.4 kB / 326.5 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.763/1.763, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009563/0.0009562, allocations: 88.75 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003912/0.0003913, allocations: 9.531 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2591, allocations: 106.3 MB / 0.9001 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001351/0.2605, allocations: 0.9844 MB / 0.9011 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1522/0.4127, allocations: 124.3 MB / 1.022 GB, free: 2.152 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.443e-05/0.4128, allocations: 0 / 1.022 GB, free: 2.152 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 2.222e-05/0.4129, allocations: 4 kB / 1.022 GB, free: 2.148 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 5.857e-05/0.4129, allocations: 7.984 kB / 1.023 GB, free: 2.141 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.4133, allocations: 83.67 kB / 1.023 GB, free: 2.059 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 6.238e-05/0.4134, allocations: 23.95 kB / 1.023 GB, free: 2.035 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 5.581e-05/0.4134, allocations: 0 / 1.023 GB, free: 2.035 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 4.063e-05/0.4135, allocations: 12 kB / 1.023 GB, free: 2.023 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 9.657e-05/0.4136, allocations: 19.91 kB / 1.023 GB, free: 2.004 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.4136, allocations: 4 kB / 1.023 GB, free: 2 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002545/0.4139, allocations: 83.81 kB / 1.023 GB, free: 1.918 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.4139, allocations: 7.984 kB / 1.023 GB, free: 1.91 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 2.946e-05/0.4139, allocations: 29.7 kB / 1.023 GB, free: 1.875 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.4141, allocations: 43.95 kB / 1.023 GB, free: 1.832 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.4141, allocations: 0 / 1.023 GB, free: 1.832 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4141, allocations: 0 / 1.023 GB, free: 1.832 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.4141, allocations: 0 / 1.023 GB, free: 1.832 MB / 0.6667 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.0004132/0.4145, allocations: 348.8 kB / 1.023 GB, free: 1.445 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.4146, allocations: 8.031 kB / 1.023 GB, free: 1.438 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.769e-05/0.4146, allocations: 34.56 kB / 1.023 GB, free: 1.395 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001919/0.4148, allocations: 15.89 kB / 1.023 GB, free: 1.379 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.4149, allocations: 179 kB / 1.023 GB, free: 1.164 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.415, allocations: 0 / 1.023 GB, free: 1.164 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.415, allocations: 7.906 kB / 1.023 GB, free: 1.156 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.4151, allocations: 49.69 kB / 1.023 GB, free: 1.102 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.4151, allocations: 3.938 kB / 1.023 GB, free: 1.098 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.4152, allocations: 0 / 1.023 GB, free: 1.098 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.4152, allocations: 0 / 1.023 GB, free: 1.098 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.078e-05/0.4152, allocations: 27.94 kB / 1.023 GB, free: 1.07 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000173/0.4154, allocations: 157.7 kB / 1.024 GB, free: 0.8672 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 8.994e-05/0.4155, allocations: 50.5 kB / 1.024 GB, free: 0.8086 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 8.196e-06/0.4155, allocations: 4 kB / 1.024 GB, free: 0.8047 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.4156, allocations: 34.56 kB / 1.024 GB, free: 0.7617 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.4156, allocations: 0 / 1.024 GB, free: 0.7617 MB / 0.6667 GB Notification: Performance of matching and sorting (n=11): time 0.0007366/0.4163, allocations: 382.7 kB / 1.024 GB, free: 344 kB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.4164, allocations: 59.3 kB / 1.024 GB, free: 272 kB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.577e-05/0.4164, allocations: 93.86 kB / 1.024 GB, free: 168 kB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.4165, allocations: 29.7 kB / 1.024 GB, free: 132 kB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 2.822e-05/0.4165, allocations: 80.14 kB / 1.024 GB, free: 48 kB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.4165, allocations: 35.45 kB / 1.024 GB, free: 12 kB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-06/0.4165, allocations: 4.125 kB / 1.024 GB, free: 8 kB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.4167, allocations: 318.8 kB / 1.025 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.388e-05/0.4167, allocations: 19.98 kB / 1.025 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.69e-05/0.4168, allocations: 35.45 kB / 1.025 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.358e-05/0.4168, allocations: 20 kB / 1.025 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.4168, allocations: 0 / 1.025 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000125/0.4169, allocations: 97.61 kB / 1.025 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.417, allocations: 4 kB / 1.025 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.417, allocations: 0 / 1.025 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.417, allocations: 7.984 kB / 1.025 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.4171, allocations: 20 kB / 1.025 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.4171, allocations: 0 / 1.025 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.253e-05/0.4172, allocations: 3.953 kB / 1.025 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.4172, allocations: 8 kB / 1.025 GB, free: 15.46 MB / 0.6823 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 9.229e-05/0.4173, allocations: 117.8 kB / 1.025 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.4173, allocations: 11.89 kB / 1.025 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.959e-05/0.4174, allocations: 7.969 kB / 1.025 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.4174, allocations: 4 kB / 1.025 GB, free: 15.31 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.4174, allocations: 0 / 1.025 GB, free: 15.31 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.4174, allocations: 0 / 1.025 GB, free: 15.31 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.4175, allocations: 181.6 kB / 1.025 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4176, allocations: 0 / 1.025 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.4177, allocations: 20 kB / 1.025 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.4177, allocations: 0 / 1.025 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.4177, allocations: 3.984 kB / 1.025 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.4177, allocations: 7.938 kB / 1.025 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4177, allocations: 0 / 1.025 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.4179, allocations: 144.8 kB / 1.025 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.417e-05/0.418, allocations: 85.14 kB / 1.025 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.418, allocations: 0 / 1.025 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.437e-05/0.4181, allocations: 4 kB / 1.025 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.95e-05/0.4182, allocations: 7.984 kB / 1.025 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.4182, allocations: 4 kB / 1.025 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.403e-05/0.4182, allocations: 75.28 kB / 1.025 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4182, allocations: 0 / 1.025 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002109/0.4184, allocations: 20.09 kB / 1.026 GB, free: 14.68 MB / 0.6823 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.0004335/0.4189, allocations: 0.671 MB / 1.026 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001269/0.419, allocations: 56.28 kB / 1.026 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.419, allocations: 3.938 kB / 1.026 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.979e-05/0.4191, allocations: 35.92 kB / 1.026 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.4192, allocations: 8 kB / 1.026 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009672/0.4202, allocations: 0.8148 MB / 1.027 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.4205, allocations: 0.6926 MB / 1.028 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.46e-05/0.4205, allocations: 12.66 kB / 1.028 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.261e-05/0.4206, allocations: 19.5 kB / 1.028 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/0.4206, allocations: 0 / 1.028 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01181/0.4324, allocations: 1.428 MB / 1.029 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/0.4327, allocations: 215.2 kB / 1.029 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.577/2.01, allocations: 0 / 1.029 GB, free: 10.77 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)