Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.Fluid.Examples.Performance.Example4,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example4,fileNamePrefix="BuildingSystems_BuildingSystems_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.001945/0.001945, allocations: 108 kB / 15.61 MB, free: 152 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.002275/0.002275, allocations: 193.9 kB / 16.53 MB, free: 6.66 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.753/1.753, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003903/0.003904, allocations: 298.4 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.132/1.132, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002679/0.002679, allocations: 101.4 kB / 0.5953 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1717, allocations: 86.98 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.5898/0.7616, allocations: 237.5 MB / 0.9122 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02435/0.786, allocations: 15.77 MB / 0.9276 GB, free: 9.949 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003298/0.7894, allocations: 63.62 kB / 0.9277 GB, free: 9.887 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004034/0.7935, allocations: 1.041 MB / 0.9287 GB, free: 8.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01108/0.8046, allocations: 2.98 MB / 0.9316 GB, free: 5.848 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006534/0.8112, allocations: 1.665 MB / 0.9333 GB, free: 4.195 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00672/0.8179, allocations: 3.434 MB / 0.9366 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00293/0.8209, allocations: 1.292 MB / 0.9379 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009078/0.83, allocations: 2.488 MB / 0.9403 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00333/0.8333, allocations: 1.075 MB / 0.9414 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005992/0.8339, allocations: 116 kB / 0.9415 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009914/0.8439, allocations: 3.098 MB / 0.9445 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001193/0.8451, allocations: 486.3 kB / 0.945 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006902/0.852, allocations: 0.8007 MB / 0.9457 GB, free: 7.383 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008855/0.8609, allocations: 2.941 MB / 0.9486 GB, free: 4.434 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.869e-06/0.861, allocations: 0 / 0.9486 GB, free: 4.434 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.447e-06/0.861, allocations: 3.938 kB / 0.9486 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.903e-05/0.8611, allocations: 0 / 0.9486 GB, free: 4.43 MB / 0.6544 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.01009/0.8712, allocations: 2.008 MB / 0.9506 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.535e-05/0.8713, allocations: 12.02 kB / 0.9506 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004031/0.8717, allocations: 156.2 kB / 0.9507 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005176/0.8769, allocations: 0.4937 MB / 0.9512 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003988/0.8809, allocations: 1.106 MB / 0.9523 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001561/0.8825, allocations: 249.8 kB / 0.9525 GB, free: 304 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000297/0.8828, allocations: 103.9 kB / 0.9526 GB, free: 200 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004189/0.887, allocations: 1.361 MB / 0.954 GB, free: 14.71 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.075e-05/0.8871, allocations: 7.938 kB / 0.954 GB, free: 14.7 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001827/0.8873, allocations: 51.92 kB / 0.954 GB, free: 14.65 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-05/0.8874, allocations: 42 kB / 0.9541 GB, free: 14.61 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004456/0.8918, allocations: 1.081 MB / 0.9551 GB, free: 13.53 MB / 0.67 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.01346/0.9053, allocations: 7.443 MB / 0.9624 GB, free: 5.613 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002955/0.9083, allocations: 0.5699 MB / 0.9629 GB, free: 5.035 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001149/0.9095, allocations: 277.2 kB / 0.9632 GB, free: 4.762 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006535/0.9102, allocations: 279.6 kB / 0.9635 GB, free: 4.434 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.878e-05/0.9103, allocations: 34.84 kB / 0.9635 GB, free: 4.391 MB / 0.67 GB Notification: Performance of pre-optimization done (n=33): time 4.278e-06/0.9103, allocations: 0 / 0.9635 GB, free: 4.391 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.00435/0.9146, allocations: 0.8718 MB / 0.9644 GB, free: 3.512 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.9147, allocations: 55.41 kB / 0.9644 GB, free: 3.445 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003429/0.9181, allocations: 1.399 MB / 0.9658 GB, free: 2.035 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.9183, allocations: 29.7 kB / 0.9658 GB, free: 2 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009098/0.9192, allocations: 0.7064 MB / 0.9665 GB, free: 1.289 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/0.9194, allocations: 114.4 kB / 0.9666 GB, free: 1.176 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004345/0.9198, allocations: 162.4 kB / 0.9668 GB, free: 1.008 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.9201, allocations: 338 kB / 0.9671 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001513/0.9216, allocations: 332.5 kB / 0.9674 GB, free: 352 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001965/0.9236, allocations: 0.7008 MB / 0.9681 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003188/0.9268, allocations: 0.962 MB / 0.969 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.447e-05/0.9268, allocations: 4.875 kB / 0.969 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004349/0.9312, allocations: 1.073 MB / 0.9701 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.9312, allocations: 8 kB / 0.9701 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.63e-05/0.9312, allocations: 12 kB / 0.9701 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.407e-05/0.9313, allocations: 19.98 kB / 0.9701 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/0.9328, allocations: 208.2 kB / 0.9703 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.764e-05/0.9329, allocations: 23.92 kB / 0.9703 GB, free: 13 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002406/0.9353, allocations: 198.6 kB / 0.9705 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.9354, allocations: 43.98 kB / 0.9706 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00215/0.9376, allocations: 0.5838 MB / 0.9711 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001885/0.9395, allocations: 0.7008 MB / 0.9718 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003045/0.9426, allocations: 0.9451 MB / 0.9727 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.135e-05/0.9426, allocations: 4 kB / 0.9727 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004218/0.9468, allocations: 1.082 MB / 0.9738 GB, free: 9.098 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.9469, allocations: 8 kB / 0.9738 GB, free: 9.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.398e-05/0.9469, allocations: 12 kB / 0.9738 GB, free: 9.078 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.9469, allocations: 19.94 kB / 0.9738 GB, free: 9.059 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/0.9483, allocations: 211.7 kB / 0.974 GB, free: 8.852 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.793e-05/0.9484, allocations: 23.92 kB / 0.9741 GB, free: 8.828 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002351/0.9508, allocations: 139.6 kB / 0.9742 GB, free: 8.691 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.9509, allocations: 44 kB / 0.9742 GB, free: 8.648 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * 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.0003561/0.9513, allocations: 236.6 kB / 0.9745 GB, free: 8.41 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004778/0.9518, allocations: 150.1 kB / 0.9746 GB, free: 8.262 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00293/0.9547, allocations: 0.6532 MB / 0.9752 GB, free: 7.594 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.9547, allocations: 4 kB / 0.9752 GB, free: 7.59 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.9548, allocations: 0 / 0.9752 GB, free: 7.59 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.9548, allocations: 7.984 kB / 0.9753 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006051/0.9608, allocations: 1.923 MB / 0.9771 GB, free: 5.551 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/0.9609, allocations: 8.156 kB / 0.9771 GB, free: 5.543 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000881/0.9618, allocations: 99.86 kB / 0.9772 GB, free: 5.445 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.389e-05/0.9618, allocations: 4 kB / 0.9772 GB, free: 5.441 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.637e-05/0.9619, allocations: 12 kB / 0.9773 GB, free: 5.43 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-05/0.9619, allocations: 15.92 kB / 0.9773 GB, free: 5.414 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.9619, allocations: 4 kB / 0.9773 GB, free: 5.41 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002782/0.9647, allocations: 0.8193 MB / 0.9781 GB, free: 4.523 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007955/0.9655, allocations: 303.1 kB / 0.9784 GB, free: 4.207 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003883/0.9659, allocations: 12 kB / 0.9784 GB, free: 4.195 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001809/0.9677, allocations: 71.92 kB / 0.9784 GB, free: 4.125 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.9679, allocations: 35.84 kB / 0.9785 GB, free: 4.09 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.04e-05/0.968, allocations: 27.97 kB / 0.9785 GB, free: 4.062 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002438/0.9704, allocations: 1.009 MB / 0.9795 GB, free: 3.059 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9704, allocations: 4 kB / 0.9795 GB, free: 3.055 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003034/0.9735, allocations: 0.5695 MB / 0.98 GB, free: 2.484 MB / 0.6856 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.00392/0.9774, allocations: 1.537 MB / 0.9815 GB, free: 0.8828 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005306/0.9828, allocations: 1.172 MB / 0.9827 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/0.9828, allocations: 0 / 0.9827 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.984, allocations: 265.1 kB / 0.9829 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005949/0.99, allocations: 0.7396 MB / 0.9837 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02813/1.018, allocations: 10.7 MB / 0.9941 GB, free: 3.266 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/1.019, allocations: 1.19 MB / 0.9953 GB, free: 2.047 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.003061/1.022, allocations: 383.8 kB / 0.9956 GB, free: 1.668 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/1.024, allocations: 499.3 kB / 0.9961 GB, free: 1.18 MB / 0.7012 GB Notification: Performance of SimCode: time 9.52e-07/1.024, allocations: 4 kB / 0.9961 GB, free: 1.176 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1065/1.13, allocations: 35.44 MB / 1.031 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.24/15.37, allocations: 7.891 kB / 1.031 GB, free: 14.2 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example4.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe 2>&1)