Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirProperties.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Media.Examples.AirProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.AirProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirProperties",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.006742/0.006742, allocations: 98.02 kB / 15.73 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 195.5 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002152/0.002152, allocations: 283.5 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9633/0.9633, allocations: 169.2 MB / 0.4983 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 95.8 kB / 0.681 GB, free: 7.438 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3825, allocations: 86.97 MB / 0.7659 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirProperties): time 0.1517/0.5343, allocations: 149.1 MB / 0.9115 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.003894/0.5382, allocations: 3.613 MB / 0.9151 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.118e-05/0.5383, allocations: 0 / 0.9151 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0003136/0.5387, allocations: 79.56 kB / 0.9151 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0002849/0.539, allocations: 135.2 kB / 0.9153 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0023/0.5413, allocations: 1.038 MB / 0.9163 GB, free: 9.309 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0003501/0.5416, allocations: 315.7 kB / 0.9166 GB, free: 9 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.522e-05/0.5417, allocations: 9.562 kB / 0.9166 GB, free: 8.988 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003904/0.5421, allocations: 214.9 kB / 0.9168 GB, free: 8.781 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.5423, allocations: 131.5 kB / 0.9169 GB, free: 8.652 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.5423, allocations: 12 kB / 0.9169 GB, free: 8.641 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001868/0.5442, allocations: 1.22 MB / 0.9181 GB, free: 7.418 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 8.573e-05/0.5443, allocations: 71.78 kB / 0.9182 GB, free: 7.348 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.5444, allocations: 107.5 kB / 0.9183 GB, free: 7.242 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0009466/0.5454, allocations: 0.6283 MB / 0.9189 GB, free: 6.617 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.5454, allocations: 0 / 0.9189 GB, free: 6.617 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5454, allocations: 0 / 0.9189 GB, free: 6.617 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.5454, allocations: 4 kB / 0.9189 GB, free: 6.613 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001046/0.5465, allocations: 0.5996 MB / 0.9195 GB, free: 5.965 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.5465, allocations: 12.03 kB / 0.9195 GB, free: 5.953 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.066e-05/0.5466, allocations: 58.72 kB / 0.9196 GB, free: 5.887 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.5478, allocations: 144.6 kB / 0.9197 GB, free: 5.746 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.548, allocations: 223.8 kB / 0.9199 GB, free: 5.488 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.5481, allocations: 12.38 kB / 0.9199 GB, free: 5.477 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.5481, allocations: 23.98 kB / 0.92 GB, free: 5.453 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005435/0.5486, allocations: 338.3 kB / 0.9203 GB, free: 5.105 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.5487, allocations: 0 / 0.9203 GB, free: 5.105 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.218e-05/0.5487, allocations: 12 kB / 0.9203 GB, free: 5.094 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.988e-05/0.5487, allocations: 12 kB / 0.9203 GB, free: 5.082 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005207/0.5493, allocations: 328.1 kB / 0.9206 GB, free: 4.762 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.5508, allocations: 1.106 MB / 0.9217 GB, free: 3.566 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004877/0.5513, allocations: 190.5 kB / 0.9219 GB, free: 3.371 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.5515, allocations: 84.75 kB / 0.922 GB, free: 3.285 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000519/0.552, allocations: 465.4 kB / 0.9224 GB, free: 2.738 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.552, allocations: 42.5 kB / 0.9224 GB, free: 2.688 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=21): time 1.543e-06/0.552, allocations: 0 / 0.9224 GB, free: 2.688 MB / 0.6856 GB Notification: Performance of matching and sorting (n=21): time 0.0006669/0.5527, allocations: 262.5 kB / 0.9227 GB, free: 2.43 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.5528, allocations: 55.41 kB / 0.9228 GB, free: 2.363 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.553, allocations: 215.1 kB / 0.923 GB, free: 2.137 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.553, allocations: 29.7 kB / 0.923 GB, free: 2.102 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 7.955e-05/0.5531, allocations: 148.2 kB / 0.9231 GB, free: 1.953 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.646e-05/0.5531, allocations: 67.39 kB / 0.9232 GB, free: 1.887 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.384e-05/0.5532, allocations: 53.66 kB / 0.9232 GB, free: 1.828 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.5533, allocations: 330.8 kB / 0.9236 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.5535, allocations: 68.23 kB / 0.9236 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.5537, allocations: 165.3 kB / 0.9238 GB, free: 1.23 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003235/0.554, allocations: 252.4 kB / 0.924 GB, free: 0.9453 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.554, allocations: 7.938 kB / 0.924 GB, free: 0.9375 MB / 0.6856 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005048/0.5545, allocations: 273.2 kB / 0.9243 GB, free: 0.6641 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.5545, allocations: 8 kB / 0.9243 GB, free: 0.6562 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.5545, allocations: 4.375 kB / 0.9243 GB, free: 0.6523 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.5546, allocations: 11.94 kB / 0.9243 GB, free: 0.6406 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.5549, allocations: 59.91 kB / 0.9244 GB, free: 0.582 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.5549, allocations: 4 kB / 0.9244 GB, free: 0.5781 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.5551, allocations: 31.73 kB / 0.9244 GB, free: 0.5469 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/0.5551, allocations: 12 kB / 0.9244 GB, free: 0.5352 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001258/0.5553, allocations: 144.1 kB / 0.9246 GB, free: 396 kB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.5554, allocations: 27.83 kB / 0.9246 GB, free: 368 kB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000461/0.5559, allocations: 275.3 kB / 0.9248 GB, free: 84 kB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.5559, allocations: 7.984 kB / 0.9248 GB, free: 76 kB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.5559, allocations: 0 / 0.9248 GB, free: 76 kB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5559, allocations: 0 / 0.9248 GB, free: 76 kB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007258/0.5566, allocations: 0.5819 MB / 0.9254 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.5566, allocations: 0 / 0.9254 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.5568, allocations: 35.91 kB / 0.9255 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.5569, allocations: 11.98 kB / 0.9255 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.5569, allocations: 8.062 kB / 0.9255 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-05/0.5569, allocations: 4 kB / 0.9255 GB, free: 15.37 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5569, allocations: 0 / 0.9255 GB, free: 15.37 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005025/0.5574, allocations: 352.8 kB / 0.9258 GB, free: 15 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.5576, allocations: 120.9 kB / 0.9259 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.5576, allocations: 4 kB / 0.9259 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/0.5579, allocations: 15.98 kB / 0.9259 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.5579, allocations: 11.98 kB / 0.926 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.5579, allocations: 12 kB / 0.926 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001286/0.5581, allocations: 156.3 kB / 0.9261 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5581, allocations: 0 / 0.9261 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004665/0.5585, allocations: 115.8 kB / 0.9262 GB, free: 14.56 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001055/0.5596, allocations: 1.002 MB / 0.9272 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0003658/0.56, allocations: 207.5 kB / 0.9274 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.56, allocations: 0 / 0.9274 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.5602, allocations: 107.9 kB / 0.9275 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006338/0.5608, allocations: 92.72 kB / 0.9276 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002765/0.5636, allocations: 2.501 MB / 0.93 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.5639, allocations: 0.7406 MB / 0.9308 GB, free: 9.699 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0002318/0.5641, allocations: 54.25 kB / 0.9308 GB, free: 9.648 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.5642, allocations: 59.42 kB / 0.9309 GB, free: 9.594 MB / 0.7012 GB Notification: Performance of SimCode: time 1.573e-06/0.5642, allocations: 0 / 0.9309 GB, free: 9.594 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.5891, allocations: 7.759 MB / 0.9384 GB, free: 1.988 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.903/8.493, allocations: 10.66 kB / 0.9385 GB, free: 1.98 MB / 0.7012 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirProperties.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.AirProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Examples_AirProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.AirProperties.pipe 2>&1)