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 2.011/2.011, allocations: 252 MB / 267.3 MB, free: 10.85 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.001465/0.001465, allocations: 172.6 kB / 327 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.931/2.931, allocations: 205.4 MB / 0.578 GB, free: 20.16 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.001473/0.001473, allocations: 87.67 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006253/0.0006255, allocations: 8.75 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3216, allocations: 106.4 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001859/0.3235, allocations: 0.9968 MB / 0.9019 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2182/0.5417, allocations: 143.2 MB / 1.042 GB, free: 14.64 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.714e-05/0.5419, allocations: 0 / 1.042 GB, free: 14.64 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.08e-05/0.5419, allocations: 0 / 1.042 GB, free: 14.64 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.842e-05/0.542, allocations: 3.938 kB / 1.042 GB, free: 14.64 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000684/0.5427, allocations: 83.62 kB / 1.042 GB, free: 14.56 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.5428, allocations: 43.78 kB / 1.042 GB, free: 14.52 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.883e-05/0.5429, allocations: 0 / 1.042 GB, free: 14.52 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.524e-05/0.543, allocations: 8 kB / 1.042 GB, free: 14.51 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.157e-05/0.5431, allocations: 19.92 kB / 1.042 GB, free: 14.49 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.5431, allocations: 0 / 1.042 GB, free: 14.49 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004085/0.5435, allocations: 79.81 kB / 1.042 GB, free: 14.41 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/0.5436, allocations: 4 kB / 1.042 GB, free: 14.41 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.137e-05/0.5436, allocations: 53.61 kB / 1.042 GB, free: 14.35 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.5439, allocations: 55.89 kB / 1.042 GB, free: 14.29 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5439, allocations: 0 / 1.042 GB, free: 14.29 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5439, allocations: 0 / 1.042 GB, free: 14.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.5439, allocations: 0 / 1.042 GB, free: 14.29 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.0006076/0.5445, allocations: 340.6 kB / 1.042 GB, free: 13.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.51e-05/0.5446, allocations: 16.02 kB / 1.042 GB, free: 13.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.668e-05/0.5447, allocations: 34.75 kB / 1.042 GB, free: 13.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002673/0.545, allocations: 12.94 kB / 1.042 GB, free: 13.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.5451, allocations: 172.1 kB / 1.043 GB, free: 13.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.5451, allocations: 7.938 kB / 1.043 GB, free: 13.63 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.5452, allocations: 11.91 kB / 1.043 GB, free: 13.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.5453, allocations: 41.69 kB / 1.043 GB, free: 13.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.5454, allocations: 3.938 kB / 1.043 GB, free: 13.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.5454, allocations: 8 kB / 1.043 GB, free: 13.56 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.5454, allocations: 0 / 1.043 GB, free: 13.56 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.187e-05/0.5455, allocations: 11.98 kB / 1.043 GB, free: 13.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002448/0.5458, allocations: 177.6 kB / 1.043 GB, free: 13.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.5459, allocations: 50.5 kB / 1.043 GB, free: 13.27 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.183e-05/0.546, allocations: 16.86 kB / 1.043 GB, free: 13.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.546, allocations: 0 / 1.043 GB, free: 13.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.546, allocations: 34.56 kB / 1.043 GB, free: 13.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.546, allocations: 0 / 1.043 GB, free: 13.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0009922/0.547, allocations: 370.3 kB / 1.043 GB, free: 12.79 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.5471, allocations: 51.41 kB / 1.043 GB, free: 12.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.088e-05/0.5472, allocations: 93.86 kB / 1.043 GB, free: 12.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.5472, allocations: 29.7 kB / 1.043 GB, free: 12.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.267e-05/0.5473, allocations: 84.12 kB / 1.044 GB, free: 12.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.597e-05/0.5474, allocations: 39.45 kB / 1.044 GB, free: 12.46 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-06/0.5474, allocations: 128 / 1.044 GB, free: 12.46 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.5475, allocations: 334.7 kB / 1.044 GB, free: 12.13 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.162e-05/0.5476, allocations: 12 kB / 1.044 GB, free: 12.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.705e-05/0.5477, allocations: 44.39 kB / 1.044 GB, free: 12.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.5478, allocations: 54.25 kB / 1.044 GB, free: 12.01 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.5478, allocations: 0 / 1.044 GB, free: 12.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002002/0.5481, allocations: 101.5 kB / 1.044 GB, free: 11.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.5481, allocations: 10.97 kB / 1.044 GB, free: 11.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.5481, allocations: 4 kB / 1.044 GB, free: 11.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.5481, allocations: 0 / 1.044 GB, free: 11.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.5483, allocations: 27.98 kB / 1.044 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.5483, allocations: 0 / 1.044 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.217e-05/0.5484, allocations: 0 / 1.044 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.5484, allocations: 11.92 kB / 1.044 GB, free: 11.86 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001443/0.5486, allocations: 117.8 kB / 1.044 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.5486, allocations: 4 kB / 1.044 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.742e-05/0.5486, allocations: 11.97 kB / 1.044 GB, free: 11.71 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.5487, allocations: 7.984 kB / 1.044 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5487, allocations: 3.938 kB / 1.044 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5487, allocations: 0 / 1.044 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.5489, allocations: 169.6 kB / 1.044 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.5489, allocations: 0 / 1.044 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.5491, allocations: 19.98 kB / 1.044 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.5491, allocations: 4 kB / 1.044 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.5491, allocations: 8 kB / 1.044 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.5491, allocations: 0 / 1.044 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.5491, allocations: 3.938 kB / 1.044 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.5494, allocations: 144.9 kB / 1.045 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.854e-05/0.5495, allocations: 85.11 kB / 1.045 GB, free: 11.19 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.5495, allocations: 4.031 kB / 1.045 GB, free: 11.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.5497, allocations: 4 kB / 1.045 GB, free: 11.18 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.419e-05/0.5497, allocations: 4 kB / 1.045 GB, free: 11.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.5497, allocations: 4 kB / 1.045 GB, free: 11.17 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.605e-05/0.5498, allocations: 83.2 kB / 1.045 GB, free: 11.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5498, allocations: 4.094 kB / 1.045 GB, free: 11.09 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002913/0.5501, allocations: 20 kB / 1.045 GB, free: 11.07 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 (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.0006175/0.5507, allocations: 0.6631 MB / 1.045 GB, free: 10.37 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001941/0.5509, allocations: 59.95 kB / 1.046 GB, free: 10.31 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5509, allocations: 0 / 1.046 GB, free: 10.31 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.062e-05/0.551, allocations: 24 kB / 1.046 GB, free: 10.29 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.5513, allocations: 19.11 kB / 1.046 GB, free: 10.27 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.5533, allocations: 1.505 MB / 1.047 GB, free: 8.688 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.5536, allocations: 0.6848 MB / 1.048 GB, free: 7.977 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001068/0.5537, allocations: 16.64 kB / 1.048 GB, free: 7.957 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.731e-05/0.5538, allocations: 15.44 kB / 1.048 GB, free: 7.945 MB / 0.698 GB Notification: Performance of SimCode: time 4.61e-07/0.5538, allocations: 0 / 1.048 GB, free: 7.945 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01897/0.5728, allocations: 1.466 MB / 1.049 GB, free: 6.641 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00029/0.5731, allocations: 226.8 kB / 1.049 GB, free: 6.391 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.01/3.583, allocations: 4.062 kB / 1.049 GB, free: 6.387 MB / 0.698 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)