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.001044/0.001044, allocations: 104 kB / 15.6 MB, free: 148 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.001155/0.001155, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.402/1.402, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.664/1.664, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001402/0.001402, allocations: 66.47 kB / 0.6716 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2214, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.6461/0.8675, allocations: 237.6 MB / 1.015 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.021/0.8886, allocations: 15.66 MB / 1.031 GB, free: 2.891 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002306/0.8909, allocations: 61.66 kB / 1.031 GB, free: 2.867 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002706/0.8937, allocations: 1.04 MB / 1.032 GB, free: 2 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.008708/0.9024, allocations: 2.949 MB / 1.035 GB, free: 15.72 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004853/0.9073, allocations: 1.685 MB / 1.036 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004929/0.9122, allocations: 3.423 MB / 1.04 GB, free: 12.51 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002185/0.9144, allocations: 1.302 MB / 1.041 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006285/0.9207, allocations: 2.481 MB / 1.043 GB, free: 10.13 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002398/0.9232, allocations: 1.079 MB / 1.044 GB, free: 9.5 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0003154/0.9235, allocations: 122.5 kB / 1.045 GB, free: 9.496 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00648/0.93, allocations: 3.089 MB / 1.048 GB, free: 7.793 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0006373/0.9306, allocations: 474.4 kB / 1.048 GB, free: 7.461 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001436/0.9321, allocations: 0.8118 MB / 1.049 GB, free: 6.93 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.006689/0.9388, allocations: 2.947 MB / 1.052 GB, free: 4.621 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.9388, allocations: 3.984 kB / 1.052 GB, free: 4.617 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.013e-06/0.9388, allocations: 4 kB / 1.052 GB, free: 4.613 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.833e-05/0.9389, allocations: 0 / 1.052 GB, free: 4.613 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.003926/0.9428, allocations: 2.013 MB / 1.054 GB, free: 2.547 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.9429, allocations: 8.031 kB / 1.054 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001761/0.9431, allocations: 156.2 kB / 1.054 GB, free: 2.379 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002764/0.9458, allocations: 0.4975 MB / 1.054 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002115/0.948, allocations: 1.106 MB / 1.055 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009359/0.9489, allocations: 241.8 kB / 1.056 GB, free: 492 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.9491, allocations: 100 kB / 1.056 GB, free: 392 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002459/0.9515, allocations: 1.366 MB / 1.057 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.9516, allocations: 7.938 kB / 1.057 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.9517, allocations: 44.98 kB / 1.057 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.328e-05/0.9517, allocations: 45.98 kB / 1.057 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002471/0.9542, allocations: 1.077 MB / 1.058 GB, free: 13.72 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.008281/0.9625, allocations: 7.453 MB / 1.065 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.9643, allocations: 0.5763 MB / 1.066 GB, free: 5.211 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006593/0.9649, allocations: 265.2 kB / 1.066 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004076/0.9654, allocations: 283.6 kB / 1.067 GB, free: 4.617 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.9654, allocations: 42.84 kB / 1.067 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=33): time 2.545e-06/0.9654, allocations: 0 / 1.067 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.002749/0.9682, allocations: 0.8589 MB / 1.067 GB, free: 3.699 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.9682, allocations: 59.41 kB / 1.068 GB, free: 3.629 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002029/0.9703, allocations: 1.395 MB / 1.069 GB, free: 2.219 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.934e-05/0.9704, allocations: 33.7 kB / 1.069 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006534/0.971, allocations: 0.7025 MB / 1.07 GB, free: 1.473 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.9712, allocations: 126.3 kB / 1.07 GB, free: 1.348 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002672/0.9714, allocations: 170.4 kB / 1.07 GB, free: 1.172 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.9716, allocations: 334 kB / 1.07 GB, free: 0.8398 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009433/0.9725, allocations: 332.6 kB / 1.071 GB, free: 0.5117 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/0.9738, allocations: 0.7306 MB / 1.071 GB, free: 15.6 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001909/0.9757, allocations: 0.9707 MB / 1.072 GB, free: 14.46 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.9757, allocations: 4 kB / 1.072 GB, free: 14.46 MB / 0.795 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002625/0.9784, allocations: 1.09 MB / 1.073 GB, free: 13.36 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.9784, allocations: 8 kB / 1.073 GB, free: 13.36 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.019e-05/0.9784, allocations: 12 kB / 1.073 GB, free: 13.34 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.789e-05/0.9785, allocations: 24 kB / 1.073 GB, free: 13.32 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009135/0.9794, allocations: 215.7 kB / 1.073 GB, free: 13.11 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-05/0.9794, allocations: 23.88 kB / 1.074 GB, free: 13.09 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.9809, allocations: 206 kB / 1.074 GB, free: 12.89 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.411e-05/0.981, allocations: 39.98 kB / 1.074 GB, free: 12.85 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001353/0.9824, allocations: 0.5923 MB / 1.074 GB, free: 12.25 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001184/0.9836, allocations: 0.7151 MB / 1.075 GB, free: 11.35 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001877/0.9855, allocations: 0.9731 MB / 1.076 GB, free: 10.21 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.021e-06/0.9855, allocations: 4 kB / 1.076 GB, free: 10.21 MB / 0.795 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002735/0.9882, allocations: 1.085 MB / 1.077 GB, free: 9.117 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.9883, allocations: 8 kB / 1.077 GB, free: 9.109 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.9883, allocations: 12.88 kB / 1.077 GB, free: 9.098 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.9883, allocations: 20 kB / 1.077 GB, free: 9.078 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008382/0.9891, allocations: 223.6 kB / 1.077 GB, free: 8.859 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-05/0.9892, allocations: 19.94 kB / 1.077 GB, free: 8.84 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.9905, allocations: 143.4 kB / 1.077 GB, free: 8.699 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.876e-05/0.9906, allocations: 47.98 kB / 1.077 GB, free: 8.652 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.0003136/0.9909, allocations: 239.8 kB / 1.078 GB, free: 8.41 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002453/0.9912, allocations: 146.2 kB / 1.078 GB, free: 8.266 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001802/0.993, allocations: 0.6565 MB / 1.078 GB, free: 7.594 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.993, allocations: 0 / 1.078 GB, free: 7.594 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.993, allocations: 4 kB / 1.079 GB, free: 7.59 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.9931, allocations: 0 / 1.079 GB, free: 7.59 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003674/0.9967, allocations: 1.913 MB / 1.08 GB, free: 5.566 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.9968, allocations: 4 kB / 1.08 GB, free: 5.562 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005517/0.9973, allocations: 100 kB / 1.08 GB, free: 5.465 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.9973, allocations: 4 kB / 1.08 GB, free: 5.461 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.473e-05/0.9974, allocations: 16 kB / 1.08 GB, free: 5.445 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.415e-06/0.9974, allocations: 7.984 kB / 1.08 GB, free: 5.438 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.9974, allocations: 7.938 kB / 1.081 GB, free: 5.43 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.999, allocations: 0.8203 MB / 1.081 GB, free: 4.543 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004596/0.9995, allocations: 295.1 kB / 1.082 GB, free: 4.234 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/0.9997, allocations: 12 kB / 1.082 GB, free: 4.223 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/1.001, allocations: 75.92 kB / 1.082 GB, free: 4.148 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.387e-05/1.001, allocations: 39.97 kB / 1.082 GB, free: 4.109 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.702e-05/1.001, allocations: 23.97 kB / 1.082 GB, free: 4.086 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.00146/1.002, allocations: 1.009 MB / 1.083 GB, free: 3.082 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.71e-07/1.002, allocations: 0 / 1.083 GB, free: 3.082 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001792/1.004, allocations: 0.5773 MB / 1.083 GB, free: 2.504 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.002504/1.007, allocations: 1.532 MB / 1.085 GB, free: 0.9062 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.003162/1.01, allocations: 1.196 MB / 1.086 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/1.01, allocations: 4 kB / 1.086 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007221/1.011, allocations: 260.9 kB / 1.086 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003729/1.014, allocations: 0.7512 MB / 1.087 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01851/1.033, allocations: 10.71 MB / 1.097 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000707/1.034, allocations: 1.178 MB / 1.099 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001685/1.035, allocations: 395.8 kB / 1.099 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006458/1.036, allocations: 0.4915 MB / 1.099 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of SimCode: time 1.323e-06/1.036, allocations: 0 / 1.099 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07321/1.109, allocations: 35.35 MB / 1.134 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.567/9.677, allocations: 7.375 kB / 1.134 GB, free: 14.2 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)