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.42/1.42, allocations: 252 MB / 267 MB, free: 10.99 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.0009904/0.0009905, allocations: 181.8 kB / 326.6 MB, free: 2.234 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.834/1.834, allocations: 205.4 MB / 0.5777 GB, free: 20.56 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.0007623/0.0007623, allocations: 72.02 kB / 0.6822 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003578, allocations: 8.75 kB / 0.7964 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2512, allocations: 106.3 MB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001397/0.2526, allocations: 0.9971 MB / 0.9013 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1687/0.4213, allocations: 133.5 MB / 1.032 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.703e-05/0.4214, allocations: 0 / 1.032 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.642e-05/0.4215, allocations: 4 kB / 1.032 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 7.373e-05/0.4216, allocations: 11.91 kB / 1.032 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004717/0.422, allocations: 71.7 kB / 1.032 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 8.083e-05/0.4221, allocations: 27.86 kB / 1.032 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.434e-05/0.4222, allocations: 4 kB / 1.032 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.94e-05/0.4223, allocations: 23.86 kB / 1.032 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.402e-05/0.4223, allocations: 19.92 kB / 1.032 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.4224, allocations: 0 / 1.032 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003355/0.4227, allocations: 75.81 kB / 1.032 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.4227, allocations: 15.92 kB / 1.032 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 3.622e-05/0.4228, allocations: 29.7 kB / 1.032 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.4229, allocations: 39.95 kB / 1.032 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.423, allocations: 0 / 1.032 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.166e-06/0.423, allocations: 0 / 1.032 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.423, allocations: 0 / 1.032 GB, free: 9.156 MB / 0.6823 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.0005307/0.4235, allocations: 339.6 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.4236, allocations: 8.031 kB / 1.032 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.161e-05/0.4236, allocations: 42.56 kB / 1.032 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002392/0.4239, allocations: 11.94 kB / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.424, allocations: 167 kB / 1.032 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.4241, allocations: 0 / 1.032 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.4241, allocations: 11.91 kB / 1.032 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.4243, allocations: 53.61 kB / 1.033 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.4243, allocations: 0 / 1.033 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.4243, allocations: 4 kB / 1.033 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.4243, allocations: 0 / 1.033 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.155e-05/0.4244, allocations: 23.94 kB / 1.033 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002069/0.4246, allocations: 161.6 kB / 1.033 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.961e-05/0.4247, allocations: 50.56 kB / 1.033 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.907e-05/0.4247, allocations: 21.02 kB / 1.033 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.4248, allocations: 0 / 1.033 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.4248, allocations: 34.56 kB / 1.033 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 3.246e-06/0.4248, allocations: 7.984 kB / 1.033 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0008404/0.4257, allocations: 366.1 kB / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.4257, allocations: 55.36 kB / 1.033 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.073e-05/0.4258, allocations: 97.84 kB / 1.033 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.4258, allocations: 29.7 kB / 1.033 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.4259, allocations: 80.14 kB / 1.033 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.138e-05/0.4259, allocations: 47.56 kB / 1.033 GB, free: 7.32 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.426, allocations: 0 / 1.033 GB, free: 7.32 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.4261, allocations: 314.8 kB / 1.034 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.005e-05/0.4262, allocations: 19.98 kB / 1.034 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.334e-05/0.4262, allocations: 40.28 kB / 1.034 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.858e-05/0.4263, allocations: 24.55 kB / 1.034 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4263, allocations: 0 / 1.034 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001516/0.4264, allocations: 85.67 kB / 1.034 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.4265, allocations: 15.94 kB / 1.034 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.4265, allocations: 0 / 1.034 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.4265, allocations: 3.938 kB / 1.034 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.4266, allocations: 27.92 kB / 1.034 GB, free: 6.781 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.4267, allocations: 3.953 kB / 1.034 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.545e-05/0.4267, allocations: 4 kB / 1.034 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.4267, allocations: 4 kB / 1.034 GB, free: 6.77 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 0.0001068/0.4268, allocations: 113.8 kB / 1.034 GB, free: 6.648 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.793e-05/0.4269, allocations: 7.906 kB / 1.034 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.414e-05/0.4269, allocations: 19.95 kB / 1.034 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.4269, allocations: 0 / 1.034 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.4269, allocations: 3.938 kB / 1.034 GB, free: 6.613 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.4269, allocations: 3.953 kB / 1.034 GB, free: 6.609 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.4271, allocations: 173.6 kB / 1.034 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4271, allocations: 0 / 1.034 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.4272, allocations: 16 kB / 1.034 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.4272, allocations: 4 kB / 1.034 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.4273, allocations: 4 kB / 1.034 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4273, allocations: 0 / 1.034 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4273, allocations: 3.984 kB / 1.034 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.4275, allocations: 144.9 kB / 1.034 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.406e-05/0.4276, allocations: 81.09 kB / 1.035 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.4276, allocations: 11.98 kB / 1.035 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.459e-05/0.4277, allocations: 0 / 1.035 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.115e-05/0.4277, allocations: 4 kB / 1.035 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.4278, allocations: 11.98 kB / 1.035 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.55e-05/0.4278, allocations: 79.28 kB / 1.035 GB, free: 6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4279, allocations: 0 / 1.035 GB, free: 6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002062/0.4281, allocations: 16 kB / 1.035 GB, free: 5.984 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.0005778/0.4286, allocations: 0.671 MB / 1.035 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001535/0.4288, allocations: 56.02 kB / 1.035 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4288, allocations: 4.094 kB / 1.035 GB, free: 5.223 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.226e-05/0.4289, allocations: 27.94 kB / 1.035 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.4291, allocations: 13.36 kB / 1.035 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.4303, allocations: 0.6771 MB / 1.036 GB, free: 4.461 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.4306, allocations: 0.6887 MB / 1.037 GB, free: 3.746 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.452e-05/0.4307, allocations: 8.672 kB / 1.037 GB, free: 3.734 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.836e-05/0.4308, allocations: 19.44 kB / 1.037 GB, free: 3.719 MB / 0.6823 GB Notification: Performance of SimCode: time 5.01e-07/0.4308, allocations: 0 / 1.037 GB, free: 3.719 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01311/0.4439, allocations: 1.436 MB / 1.038 GB, free: 2.461 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/0.4442, allocations: 223.6 kB / 1.038 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.584/2.029, allocations: 1.969 kB / 1.038 GB, free: 2.211 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)