Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example4.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example4",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.0016/0.0016, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 187.9 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.661/1.661, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 70.08 kB / 0.6718 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2058, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.5966/0.8024, allocations: 237.6 MB / 1.016 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02004/0.8225, allocations: 15.66 MB / 1.031 GB, free: 2.84 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002637/0.8253, allocations: 61.22 kB / 1.031 GB, free: 2.816 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002608/0.8279, allocations: 1.039 MB / 1.032 GB, free: 1.953 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007309/0.8352, allocations: 2.953 MB / 1.035 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003981/0.8392, allocations: 1.692 MB / 1.037 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004075/0.8433, allocations: 3.435 MB / 1.04 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001625/0.8449, allocations: 1.293 MB / 1.041 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005706/0.8506, allocations: 2.499 MB / 1.044 GB, free: 10.01 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002185/0.8528, allocations: 1.07 MB / 1.045 GB, free: 9.383 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.000243/0.8531, allocations: 118.4 kB / 1.045 GB, free: 9.383 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006461/0.8596, allocations: 3.091 MB / 1.048 GB, free: 7.676 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0005616/0.8602, allocations: 485.1 kB / 1.048 GB, free: 7.336 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001119/0.8613, allocations: 0.8131 MB / 1.049 GB, free: 6.801 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.005064/0.8664, allocations: 2.978 MB / 1.052 GB, free: 4.492 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.8664, allocations: 0 / 1.052 GB, free: 4.492 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8664, allocations: 0 / 1.052 GB, free: 4.492 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.708e-05/0.8664, allocations: 0 / 1.052 GB, free: 4.492 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003665/0.8701, allocations: 2.01 MB / 1.054 GB, free: 2.43 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.8702, allocations: 12.03 kB / 1.054 GB, free: 2.418 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000169/0.8703, allocations: 152.2 kB / 1.054 GB, free: 2.262 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002822/0.8732, allocations: 0.4937 MB / 1.055 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002298/0.8755, allocations: 1.168 MB / 1.056 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.272e-05/0.8756, allocations: 78 kB / 1.056 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.8757, allocations: 96 kB / 1.056 GB, free: 380 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002341/0.8781, allocations: 1.354 MB / 1.057 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.8781, allocations: 7.938 kB / 1.057 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-05/0.8782, allocations: 40 kB / 1.057 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.023e-05/0.8783, allocations: 45.98 kB / 1.057 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002324/0.8806, allocations: 1.057 MB / 1.058 GB, free: 13.74 MB / 0.7794 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.007808/0.8884, allocations: 7.396 MB / 1.066 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/0.8899, allocations: 0.5535 MB / 1.066 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005871/0.8905, allocations: 257.2 kB / 1.066 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003626/0.8909, allocations: 279.6 kB / 1.067 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.8909, allocations: 34.84 kB / 1.067 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=33): time 2.014e-06/0.891, allocations: 4 kB / 1.067 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.002332/0.8933, allocations: 0.8355 MB / 1.067 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.8933, allocations: 55.41 kB / 1.067 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/0.8952, allocations: 1.395 MB / 1.069 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.403e-05/0.8952, allocations: 33.64 kB / 1.069 GB, free: 2.328 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005041/0.8957, allocations: 0.7025 MB / 1.07 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.8959, allocations: 126.3 kB / 1.07 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002493/0.8961, allocations: 166.4 kB / 1.07 GB, free: 1.324 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.8962, allocations: 334 kB / 1.07 GB, free: 0.9922 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008026/0.897, allocations: 320.6 kB / 1.07 GB, free: 0.6758 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.8981, allocations: 0.7149 MB / 1.071 GB, free: 15.78 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001636/0.8998, allocations: 0.9435 MB / 1.072 GB, free: 14.67 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.8998, allocations: 7.938 kB / 1.072 GB, free: 14.66 MB / 0.795 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002228/0.902, allocations: 1.065 MB / 1.073 GB, free: 13.59 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.902, allocations: 11.12 kB / 1.073 GB, free: 13.58 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.9021, allocations: 12 kB / 1.073 GB, free: 13.57 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/0.9021, allocations: 16.81 kB / 1.073 GB, free: 13.55 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000812/0.9029, allocations: 207.7 kB / 1.073 GB, free: 13.35 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.126e-05/0.9029, allocations: 23.88 kB / 1.073 GB, free: 13.33 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.9041, allocations: 191.5 kB / 1.074 GB, free: 13.14 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.376e-05/0.9042, allocations: 43.98 kB / 1.074 GB, free: 13.1 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001154/0.9054, allocations: 0.5688 MB / 1.074 GB, free: 12.53 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001038/0.9064, allocations: 0.7034 MB / 1.075 GB, free: 11.64 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00162/0.9081, allocations: 0.9496 MB / 1.076 GB, free: 10.52 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.021e-06/0.9081, allocations: 4 kB / 1.076 GB, free: 10.52 MB / 0.795 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002211/0.9103, allocations: 1.058 MB / 1.077 GB, free: 9.453 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.9103, allocations: 12 kB / 1.077 GB, free: 9.441 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.9104, allocations: 15.98 kB / 1.077 GB, free: 9.426 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.9104, allocations: 16 kB / 1.077 GB, free: 9.41 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007851/0.9112, allocations: 211.9 kB / 1.077 GB, free: 9.203 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.875e-05/0.9112, allocations: 28.98 kB / 1.077 GB, free: 9.176 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.9124, allocations: 139.4 kB / 1.077 GB, free: 9.039 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.394e-05/0.9124, allocations: 36 kB / 1.077 GB, free: 9.004 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (91): * Single equations (assignments): 91 * 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.0002461/0.9127, allocations: 251.8 kB / 1.077 GB, free: 8.75 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/0.9129, allocations: 142.2 kB / 1.078 GB, free: 8.609 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/0.9145, allocations: 0.6336 MB / 1.078 GB, free: 7.961 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.9145, allocations: 4 kB / 1.078 GB, free: 7.957 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.9145, allocations: 3.938 kB / 1.078 GB, free: 7.953 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.9145, allocations: 3.984 kB / 1.078 GB, free: 7.949 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003262/0.9178, allocations: 1.886 MB / 1.08 GB, free: 5.953 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.9178, allocations: 8 kB / 1.08 GB, free: 5.945 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004717/0.9183, allocations: 96.08 kB / 1.08 GB, free: 5.852 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.9183, allocations: 4 kB / 1.08 GB, free: 5.848 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.538e-05/0.9183, allocations: 15.98 kB / 1.08 GB, free: 5.832 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.9183, allocations: 4 kB / 1.08 GB, free: 5.828 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.9184, allocations: 7.938 kB / 1.08 GB, free: 5.82 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.9198, allocations: 0.8042 MB / 1.081 GB, free: 4.949 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004072/0.9202, allocations: 291.1 kB / 1.081 GB, free: 4.645 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/0.9204, allocations: 15.98 kB / 1.081 GB, free: 4.629 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000952/0.9214, allocations: 63.92 kB / 1.081 GB, free: 4.566 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.476e-05/0.9215, allocations: 39.84 kB / 1.081 GB, free: 4.527 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.511e-05/0.9215, allocations: 20.17 kB / 1.081 GB, free: 4.508 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001358/0.9229, allocations: 1.005 MB / 1.082 GB, free: 3.508 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9229, allocations: 4 kB / 1.082 GB, free: 3.504 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001731/0.9246, allocations: 0.5734 MB / 1.083 GB, free: 2.93 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * 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.002221/0.9269, allocations: 1.511 MB / 1.084 GB, free: 1.355 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002787/0.9297, allocations: 1.142 MB / 1.086 GB, free: 224 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/0.9297, allocations: 8.25 kB / 1.086 GB, free: 216 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0006353/0.9303, allocations: 252.1 kB / 1.086 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003305/0.9337, allocations: 0.7376 MB / 1.087 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0163/0.95, allocations: 9.837 MB / 1.096 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007686/0.9508, allocations: 1.178 MB / 1.097 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001457/0.9522, allocations: 383.8 kB / 1.098 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006728/0.9529, allocations: 499.3 kB / 1.098 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of SimCode: time 1.122e-06/0.9529, allocations: 0 / 1.098 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06269/1.016, allocations: 35.34 MB / 1.133 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.824/10.84, allocations: 7.031 kB / 1.133 GB, free: 15.88 MB / 0.8575 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example4.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Examples.Performance.Example4_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)