Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.671/1.671, allocations: 288.2 MB / 303.2 MB, free: 8.125 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.001073/0.001074, allocations: 182.4 kB / 371.8 MB, free: 10.28 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.592/1.592, allocations: 205.4 MB / 0.6305 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009739/0.0009739, allocations: 90.86 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004055/0.0004056, allocations: 10.69 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2502, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001351/0.2516, allocations: 0.9729 MB / 0.9804 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7672/1.019, allocations: 124.3 MB / 1.102 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.324e-05/1.019, allocations: 1.281 kB / 1.102 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 3.289e-05/1.019, allocations: 2.156 kB / 1.102 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 6.042e-05/1.019, allocations: 6.172 kB / 1.102 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/1.019, allocations: 81.84 kB / 1.102 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 6.216e-05/1.019, allocations: 23.28 kB / 1.102 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.479e-05/1.019, allocations: 7.844 kB / 1.102 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.37e-05/1.02, allocations: 14.72 kB / 1.102 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.994e-05/1.02, allocations: 17.34 kB / 1.102 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/1.02, allocations: 2.469 kB / 1.102 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002723/1.02, allocations: 81.83 kB / 1.102 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/1.02, allocations: 5 kB / 1.102 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001681/1.02, allocations: 35.92 kB / 1.102 GB, free: 18.58 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001355/1.02, allocations: 40.58 kB / 1.102 GB, free: 18.58 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/1.02, allocations: 3.938 kB / 1.102 GB, free: 18.58 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.887e-06/1.02, allocations: 2.656 kB / 1.102 GB, free: 18.58 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.951e-06/1.02, allocations: 0 / 1.102 GB, free: 18.58 MB / 0.698 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.0004118/1.021, allocations: 345.8 kB / 1.102 GB, free: 18.22 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/1.021, allocations: 11.98 kB / 1.102 GB, free: 18.22 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/1.021, allocations: 33.78 kB / 1.102 GB, free: 18.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/1.021, allocations: 19.03 kB / 1.103 GB, free: 18.17 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/1.021, allocations: 170.2 kB / 1.103 GB, free: 17.97 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/1.021, allocations: 5.062 kB / 1.103 GB, free: 17.97 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/1.021, allocations: 3.344 kB / 1.103 GB, free: 17.97 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/1.021, allocations: 55.11 kB / 1.103 GB, free: 17.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/1.021, allocations: 0 / 1.103 GB, free: 17.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/1.021, allocations: 1.438 kB / 1.103 GB, free: 17.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/1.021, allocations: 2.156 kB / 1.103 GB, free: 17.93 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.125e-05/1.021, allocations: 18.8 kB / 1.103 GB, free: 17.93 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001868/1.022, allocations: 160.7 kB / 1.103 GB, free: 17.74 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.921e-05/1.022, allocations: 53.08 kB / 1.103 GB, free: 17.71 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/1.022, allocations: 0 / 1.103 GB, free: 17.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/1.022, allocations: 39.88 kB / 1.103 GB, free: 17.67 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 8.01e-07/1.022, allocations: 0 / 1.103 GB, free: 17.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0007931/1.023, allocations: 366.3 kB / 1.103 GB, free: 17.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/1.023, allocations: 59.97 kB / 1.103 GB, free: 17.35 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.681e-05/1.023, allocations: 94.33 kB / 1.103 GB, free: 17.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/1.023, allocations: 31.36 kB / 1.104 GB, free: 17.21 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.755e-05/1.023, allocations: 86.39 kB / 1.104 GB, free: 17.13 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.864e-05/1.023, allocations: 37.38 kB / 1.104 GB, free: 17.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/1.023, allocations: 1.062 kB / 1.104 GB, free: 17.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001114/1.023, allocations: 319.2 kB / 1.104 GB, free: 16.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.434e-05/1.023, allocations: 18.28 kB / 1.104 GB, free: 16.79 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.758e-05/1.023, allocations: 35.56 kB / 1.104 GB, free: 16.78 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.62e-05/1.023, allocations: 23.31 kB / 1.104 GB, free: 16.78 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/1.023, allocations: 4.844 kB / 1.104 GB, free: 16.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001413/1.023, allocations: 97.66 kB / 1.104 GB, free: 16.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/1.023, allocations: 5.375 kB / 1.104 GB, free: 16.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/1.023, allocations: 3.375 kB / 1.104 GB, free: 16.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/1.023, allocations: 1.281 kB / 1.104 GB, free: 16.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/1.023, allocations: 20.47 kB / 1.104 GB, free: 16.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/1.023, allocations: 5.141 kB / 1.104 GB, free: 16.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.206e-05/1.023, allocations: 3.906 kB / 1.104 GB, free: 16.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/1.024, allocations: 2.312 kB / 1.104 GB, free: 16.73 MB / 0.698 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 8.627e-05/1.024, allocations: 121.9 kB / 1.104 GB, free: 16.61 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/1.024, allocations: 5.625 kB / 1.104 GB, free: 16.61 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.256e-05/1.024, allocations: 14.34 kB / 1.104 GB, free: 16.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/1.024, allocations: 1.094 kB / 1.104 GB, free: 16.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.024, allocations: 1 kB / 1.104 GB, free: 16.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/1.024, allocations: 5.812 kB / 1.104 GB, free: 16.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/1.024, allocations: 171 kB / 1.104 GB, free: 16.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.024, allocations: 2.156 kB / 1.104 GB, free: 16.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/1.024, allocations: 20.81 kB / 1.104 GB, free: 16.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/1.024, allocations: 1.156 kB / 1.104 GB, free: 16.41 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/1.024, allocations: 8.125 kB / 1.104 GB, free: 16.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/1.024, allocations: 1.094 kB / 1.104 GB, free: 16.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/1.024, allocations: 0.7031 kB / 1.104 GB, free: 16.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/1.024, allocations: 139.2 kB / 1.105 GB, free: 16.33 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.621e-05/1.024, allocations: 82.75 kB / 1.105 GB, free: 16.24 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/1.024, allocations: 3.234 kB / 1.105 GB, free: 16.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.688e-05/1.024, allocations: 8.5 kB / 1.105 GB, free: 16.24 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.977e-05/1.024, allocations: 12.06 kB / 1.105 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/1.024, allocations: 2.312 kB / 1.105 GB, free: 16.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.233e-05/1.024, allocations: 76.5 kB / 1.105 GB, free: 16.16 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.024, allocations: 0 / 1.105 GB, free: 16.16 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001873/1.025, allocations: 17.38 kB / 1.105 GB, free: 16.16 MB / 0.698 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.0004283/1.025, allocations: 0.6784 MB / 1.105 GB, free: 15.55 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001384/1.025, allocations: 51.55 kB / 1.106 GB, free: 15.55 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.025, allocations: 0 / 1.106 GB, free: 15.55 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.303e-05/1.025, allocations: 31.12 kB / 1.106 GB, free: 15.55 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/1.025, allocations: 9.297 kB / 1.106 GB, free: 15.55 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009592/1.026, allocations: 0.8237 MB / 1.106 GB, free: 14.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/1.027, allocations: 0.6893 MB / 1.107 GB, free: 14.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.007e-05/1.027, allocations: 11.17 kB / 1.107 GB, free: 14.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.852e-05/1.027, allocations: 19.22 kB / 1.107 GB, free: 14.19 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/1.027, allocations: 0 / 1.107 GB, free: 14.19 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.808/2.835, allocations: 1.434 MB / 1.108 GB, free: 14.02 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/2.835, allocations: 205.1 kB / 1.109 GB, free: 13.79 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/4.597, allocations: 0 / 1.109 GB, free: 13.79 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)