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.001333/0.001333, 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.001226/0.001226, allocations: 197 kB / 16.53 MB, free: 6.664 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.333/1.333, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00243/0.00243, allocations: 286.5 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.003/1.003, allocations: 178.6 MB / 0.5073 GB, free: 4.602 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002627/0.002627, allocations: 97.94 kB / 0.6065 GB, free: 24.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1416, allocations: 89.14 MB / 0.6936 GB, free: 4.309 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.4841/0.6257, allocations: 237.5 MB / 0.9256 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01994/0.6457, allocations: 15.79 MB / 0.941 GB, free: 14.09 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001503/0.6472, allocations: 63.62 kB / 0.941 GB, free: 14.03 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002278/0.6495, allocations: 1.041 MB / 0.942 GB, free: 12.98 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006116/0.6556, allocations: 2.972 MB / 0.945 GB, free: 10 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003535/0.6592, allocations: 1.67 MB / 0.9466 GB, free: 8.344 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003508/0.6627, allocations: 3.437 MB / 0.9499 GB, free: 4.902 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001484/0.6642, allocations: 1.292 MB / 0.9512 GB, free: 3.582 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004758/0.669, allocations: 2.49 MB / 0.9536 GB, free: 1.098 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001581/0.6706, allocations: 1.067 MB / 0.9547 GB, free: 40 kB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001952/0.6708, allocations: 120 kB / 0.9548 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004809/0.6756, allocations: 3.098 MB / 0.9578 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004338/0.676, allocations: 470.5 kB / 0.9583 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007882/0.6768, allocations: 0.8201 MB / 0.9591 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003534/0.6804, allocations: 2.929 MB / 0.9619 GB, free: 8.594 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.6804, allocations: 0 / 0.9619 GB, free: 8.594 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6804, allocations: 0 / 0.9619 GB, free: 8.594 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.776e-05/0.6804, allocations: 0 / 0.9619 GB, free: 8.594 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003202/0.6836, allocations: 2.008 MB / 0.9639 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.6837, allocations: 8.031 kB / 0.9639 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001782/0.6839, allocations: 160.2 kB / 0.964 GB, free: 6.363 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002614/0.6865, allocations: 0.4975 MB / 0.9645 GB, free: 5.863 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001957/0.6884, allocations: 1.115 MB / 0.9656 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009334/0.6894, allocations: 241.8 kB / 0.9659 GB, free: 4.457 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.6895, allocations: 104 kB / 0.9659 GB, free: 4.355 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002328/0.6919, allocations: 1.361 MB / 0.9673 GB, free: 2.871 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.6919, allocations: 4 kB / 0.9673 GB, free: 2.867 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.692, allocations: 48 kB / 0.9673 GB, free: 2.82 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.022e-05/0.6921, allocations: 45.92 kB / 0.9674 GB, free: 2.777 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002517/0.6946, allocations: 1.077 MB / 0.9684 GB, free: 1.699 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.007582/0.7022, allocations: 7.439 MB / 0.9757 GB, free: 9.785 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.7039, allocations: 0.5699 MB / 0.9762 GB, free: 9.207 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006787/0.7046, allocations: 277 kB / 0.9765 GB, free: 8.934 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000376/0.705, allocations: 283.6 kB / 0.9768 GB, free: 8.602 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.705, allocations: 38.84 kB / 0.9768 GB, free: 8.555 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=33): time 1.803e-06/0.705, allocations: 0 / 0.9768 GB, free: 8.555 MB / 0.7012 GB Notification: Performance of matching and sorting (n=33): time 0.002492/0.7075, allocations: 0.8634 MB / 0.9777 GB, free: 7.684 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.7076, allocations: 55.41 kB / 0.9777 GB, free: 7.617 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001816/0.7094, allocations: 1.403 MB / 0.9791 GB, free: 6.203 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.844e-05/0.7095, allocations: 33.7 kB / 0.9791 GB, free: 6.164 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005691/0.71, allocations: 0.7026 MB / 0.9798 GB, free: 5.457 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.7101, allocations: 118.4 kB / 0.9799 GB, free: 5.34 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/0.7104, allocations: 170.2 kB / 0.9801 GB, free: 5.168 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.7105, allocations: 334 kB / 0.9804 GB, free: 4.836 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000908/0.7114, allocations: 328.6 kB / 0.9807 GB, free: 4.512 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/0.7127, allocations: 0.7009 MB / 0.9814 GB, free: 3.633 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/0.7146, allocations: 0.9499 MB / 0.9823 GB, free: 2.523 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.7146, allocations: 8.812 kB / 0.9823 GB, free: 2.516 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002444/0.717, allocations: 1.082 MB / 0.9834 GB, free: 1.426 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.7171, allocations: 12 kB / 0.9834 GB, free: 1.414 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/0.7171, allocations: 12 kB / 0.9834 GB, free: 1.402 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/0.7171, allocations: 16 kB / 0.9834 GB, free: 1.387 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008665/0.718, allocations: 212 kB / 0.9836 GB, free: 1.18 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.11e-05/0.718, allocations: 23.92 kB / 0.9836 GB, free: 1.156 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.7193, allocations: 198.6 kB / 0.9838 GB, free: 0.9609 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.897e-05/0.7193, allocations: 36 kB / 0.9839 GB, free: 0.9258 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001253/0.7206, allocations: 0.5844 MB / 0.9844 GB, free: 344 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001255/0.7219, allocations: 0.6969 MB / 0.9851 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001912/0.7238, allocations: 0.9529 MB / 0.9861 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.55e-06/0.7238, allocations: 4 kB / 0.9861 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002441/0.7262, allocations: 1.074 MB / 0.9871 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.7263, allocations: 18.02 kB / 0.9871 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.7263, allocations: 20.09 kB / 0.9871 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.7263, allocations: 16 kB / 0.9872 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008298/0.7272, allocations: 203.7 kB / 0.9874 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.027e-05/0.7272, allocations: 23.92 kB / 0.9874 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.7284, allocations: 139.5 kB / 0.9875 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-05/0.7284, allocations: 47.98 kB / 0.9876 GB, free: 12.81 MB / 0.7169 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.0002156/0.7287, allocations: 240.4 kB / 0.9878 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.7289, allocations: 146.2 kB / 0.9879 GB, free: 12.42 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/0.7306, allocations: 0.6605 MB / 0.9886 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/0.7306, allocations: 4 kB / 0.9886 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.7307, allocations: 0 / 0.9886 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.7307, allocations: 0 / 0.9886 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003558/0.7342, allocations: 1.921 MB / 0.9904 GB, free: 9.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.7342, allocations: 7.938 kB / 0.9905 GB, free: 9.703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005133/0.7348, allocations: 92.02 kB / 0.9905 GB, free: 9.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.7348, allocations: 11.94 kB / 0.9906 GB, free: 9.602 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.594e-05/0.7348, allocations: 15.98 kB / 0.9906 GB, free: 9.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.7348, allocations: 4 kB / 0.9906 GB, free: 9.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.7348, allocations: 7.938 kB / 0.9906 GB, free: 9.574 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.7365, allocations: 0.8195 MB / 0.9914 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004066/0.7369, allocations: 295.1 kB / 0.9917 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/0.7371, allocations: 15.98 kB / 0.9917 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.7381, allocations: 75.92 kB / 0.9918 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.447e-05/0.7382, allocations: 31.84 kB / 0.9918 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-05/0.7383, allocations: 23.98 kB / 0.9918 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001417/0.7397, allocations: 1.009 MB / 0.9928 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7397, allocations: 0 / 0.9928 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001593/0.7413, allocations: 0.5813 MB / 0.9934 GB, free: 6.648 MB / 0.7169 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.002354/0.7437, allocations: 1.533 MB / 0.9949 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002889/0.7466, allocations: 1.172 MB / 0.996 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.7466, allocations: 8.062 kB / 0.996 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007147/0.7473, allocations: 263.9 kB / 0.9963 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003122/0.7505, allocations: 0.7436 MB / 0.997 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01654/0.767, allocations: 10.68 MB / 1.007 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000792/0.7678, allocations: 1.186 MB / 1.009 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001426/0.7693, allocations: 391.7 kB / 1.009 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006372/0.7699, allocations: 499.3 kB / 1.009 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.7699, allocations: 0 / 1.009 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06797/0.8379, allocations: 35.44 MB / 1.044 GB, free: 2.375 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.51/9.347, allocations: 7.922 kB / 1.044 GB, free: 2.367 MB / 0.7637 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)