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.004921/0.004921, allocations: 98.66 kB / 15.73 MB, free: 6.039 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.001092/0.001092, allocations: 192.8 kB / 16.67 MB, free: 5.965 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.259/1.259, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002066/0.002066, allocations: 286.5 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8966/0.8966, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 95.84 kB / 0.681 GB, free: 4 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1404, allocations: 86.98 MB / 0.7659 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.5033/0.6438, allocations: 237.5 MB / 0.9979 GB, free: 5.516 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01772/0.6616, allocations: 15.79 MB / 1.013 GB, free: 5.68 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00191/0.6635, allocations: 59.62 kB / 1.013 GB, free: 5.621 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002488/0.666, allocations: 1.076 MB / 1.014 GB, free: 4.539 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.006962/0.673, allocations: 3.107 MB / 1.017 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003957/0.677, allocations: 1.692 MB / 1.019 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004406/0.6814, allocations: 3.446 MB / 1.022 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001901/0.6833, allocations: 1.291 MB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005568/0.6889, allocations: 2.574 MB / 1.026 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001982/0.6909, allocations: 1.074 MB / 1.027 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002952/0.6912, allocations: 120 kB / 1.027 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005225/0.6964, allocations: 3.106 MB / 1.03 GB, free: 4.105 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005713/0.697, allocations: 482.5 kB / 1.031 GB, free: 3.633 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001206/0.6982, allocations: 0.8123 MB / 1.032 GB, free: 2.816 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.004985/0.7032, allocations: 2.982 MB / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.7033, allocations: 8 kB / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7033, allocations: 0 / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.333e-05/0.7033, allocations: 0 / 1.035 GB, free: 15.82 MB / 0.795 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.003704/0.707, allocations: 2.068 MB / 1.037 GB, free: 13.69 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.7071, allocations: 8.031 kB / 1.037 GB, free: 13.68 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001857/0.7073, allocations: 160.2 kB / 1.037 GB, free: 13.52 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002714/0.71, allocations: 0.4985 MB / 1.037 GB, free: 13.02 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002264/0.7123, allocations: 1.189 MB / 1.038 GB, free: 11.77 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.007e-05/0.7124, allocations: 78 kB / 1.038 GB, free: 11.7 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.7125, allocations: 96 kB / 1.039 GB, free: 11.6 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002249/0.7148, allocations: 1.35 MB / 1.04 GB, free: 10.13 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.7148, allocations: 4 kB / 1.04 GB, free: 10.13 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-05/0.7149, allocations: 40 kB / 1.04 GB, free: 10.09 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-05/0.715, allocations: 49.92 kB / 1.04 GB, free: 10.04 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0023/0.7173, allocations: 1.054 MB / 1.041 GB, free: 8.984 MB / 0.795 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.007494/0.7248, allocations: 7.392 MB / 1.048 GB, free: 1.117 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.7263, allocations: 0.5424 MB / 1.049 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005944/0.727, allocations: 261.2 kB / 1.049 GB, free: 320 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003768/0.7274, allocations: 287.5 kB / 1.049 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.7274, allocations: 34.84 kB / 1.049 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=33): time 2.244e-06/0.7274, allocations: 0 / 1.049 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33): time 0.002378/0.7298, allocations: 0.8491 MB / 1.05 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.7298, allocations: 59.41 kB / 1.05 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002233/0.7321, allocations: 1.387 MB / 1.052 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.798e-05/0.7322, allocations: 37.7 kB / 1.052 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006229/0.7328, allocations: 0.7196 MB / 1.052 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.733, allocations: 123 kB / 1.052 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003265/0.7333, allocations: 170.5 kB / 1.053 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.7335, allocations: 334 kB / 1.053 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008667/0.7343, allocations: 316.5 kB / 1.053 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.7355, allocations: 0.6814 MB / 1.054 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001743/0.7373, allocations: 0.9395 MB / 1.055 GB, free: 9.953 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/0.7373, allocations: 4 kB / 1.055 GB, free: 9.949 MB / 0.8106 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00238/0.7397, allocations: 1.055 MB / 1.056 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.7397, allocations: 19.92 kB / 1.056 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.7397, allocations: 11.98 kB / 1.056 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.7398, allocations: 16 kB / 1.056 GB, free: 8.836 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008084/0.7406, allocations: 199.9 kB / 1.056 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.156e-05/0.7406, allocations: 23.92 kB / 1.056 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.7419, allocations: 175.8 kB / 1.056 GB, free: 8.445 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-05/0.742, allocations: 47.98 kB / 1.056 GB, free: 8.398 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00115/0.7432, allocations: 0.5682 MB / 1.057 GB, free: 7.824 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001015/0.7442, allocations: 0.6891 MB / 1.058 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001596/0.7458, allocations: 0.9293 MB / 1.058 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.268e-06/0.7458, allocations: 0 / 1.058 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002292/0.7481, allocations: 1.054 MB / 1.059 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.7482, allocations: 11.94 kB / 1.059 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.7482, allocations: 12 kB / 1.059 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.7482, allocations: 16.81 kB / 1.059 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007721/0.749, allocations: 207.6 kB / 1.06 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.981e-05/0.749, allocations: 23.92 kB / 1.06 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.7503, allocations: 139.5 kB / 1.06 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.596e-05/0.7504, allocations: 44 kB / 1.06 GB, free: 4.363 MB / 0.8106 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.000229/0.7506, allocations: 239.7 kB / 1.06 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002606/0.7509, allocations: 151 kB / 1.06 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/0.7524, allocations: 0.6297 MB / 1.061 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.7525, allocations: 8 kB / 1.061 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.7525, allocations: 0 / 1.061 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.7525, allocations: 3.984 kB / 1.061 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003566/0.756, allocations: 1.887 MB / 1.063 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.7561, allocations: 7.938 kB / 1.063 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004776/0.7566, allocations: 99.73 kB / 1.063 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/0.7566, allocations: 8 kB / 1.063 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-05/0.7566, allocations: 12.14 kB / 1.063 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/0.7566, allocations: 12 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.7566, allocations: 4 kB / 1.063 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.7581, allocations: 0.816 MB / 1.064 GB, free: 312 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005724/0.7587, allocations: 311.9 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002781/0.759, allocations: 11.98 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.7601, allocations: 67.92 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.265e-05/0.7601, allocations: 27.91 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.774e-05/0.7602, allocations: 23.98 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001467/0.7617, allocations: 1.013 MB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7617, allocations: 3.938 kB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001781/0.7635, allocations: 0.5813 MB / 1.066 GB, free: 14.26 MB / 0.8262 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.00217/0.7656, allocations: 1.51 MB / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00266/0.7683, allocations: 1.117 MB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.7683, allocations: 0 / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006253/0.769, allocations: 265.3 kB / 1.068 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003108/0.7721, allocations: 0.746 MB / 1.069 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01519/0.7873, allocations: 9.83 MB / 1.079 GB, free: 204 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006763/0.788, allocations: 1.186 MB / 1.08 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001288/0.7893, allocations: 391.7 kB / 1.08 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006048/0.7899, allocations: 499.3 kB / 1.081 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of SimCode: time 5.81e-07/0.7899, allocations: 0 / 1.081 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3366/1.127, allocations: 35.62 MB / 1.116 GB, free: 285.6 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.265/10.39, allocations: 10.28 kB / 1.116 GB, free: 285.6 MB / 0.8419 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)