Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.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.Example5,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example5,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5",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.001554/0.001554, 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.001559/0.001559, allocations: 197.4 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.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002416/0.002416, allocations: 286.6 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.011/1.011, allocations: 178.6 MB / 0.5073 GB, free: 4.551 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002886/0.002886, allocations: 99.94 kB / 0.6065 GB, free: 24.83 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1716, allocations: 89.16 MB / 0.6936 GB, free: 4.199 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.002049/0.1737, allocations: 0.5114 MB / 0.6941 GB, free: 3.699 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001977/0.1739, allocations: 51.8 kB / 0.6942 GB, free: 3.648 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.02e-05/0.174, allocations: 0 / 0.6942 GB, free: 3.648 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.277e-05/0.174, allocations: 0 / 0.6942 GB, free: 3.648 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.1742, allocations: 7.938 kB / 0.6942 GB, free: 3.641 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.772e-05/0.1742, allocations: 4 kB / 0.6942 GB, free: 3.637 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.214e-05/0.1743, allocations: 16.62 kB / 0.6942 GB, free: 3.621 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.914e-05/0.1744, allocations: 3.938 kB / 0.6942 GB, free: 3.617 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.919e-05/0.1744, allocations: 12 kB / 0.6942 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.492e-05/0.1745, allocations: 11.92 kB / 0.6942 GB, free: 3.594 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.1745, allocations: 0 / 0.6942 GB, free: 3.594 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.848e-06/0.1745, allocations: 0 / 0.6942 GB, free: 3.594 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.402e-05/0.1746, allocations: 4 kB / 0.6942 GB, free: 3.59 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.816e-05/0.1746, allocations: 3.938 kB / 0.6942 GB, free: 3.586 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.13e-05/0.1747, allocations: 15.97 kB / 0.6942 GB, free: 3.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.1747, allocations: 0 / 0.6942 GB, free: 3.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1747, allocations: 7.938 kB / 0.6942 GB, free: 3.562 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.427e-06/0.1747, allocations: 0 / 0.6942 GB, free: 3.562 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004803/0.1752, allocations: 331.7 kB / 0.6946 GB, free: 3.188 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.1753, allocations: 12.03 kB / 0.6946 GB, free: 3.176 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.396e-05/0.1753, allocations: 34.73 kB / 0.6946 GB, free: 3.133 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.465e-05/0.1753, allocations: 0.9375 kB / 0.6946 GB, free: 3.133 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.1755, allocations: 172.3 kB / 0.6948 GB, free: 2.926 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.1755, allocations: 4.375 kB / 0.6948 GB, free: 2.922 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.1756, allocations: 384 / 0.6948 GB, free: 2.922 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.245e-05/0.1757, allocations: 38.19 kB / 0.6948 GB, free: 2.879 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.1757, allocations: 3.938 kB / 0.6948 GB, free: 2.875 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.1757, allocations: 4 kB / 0.6948 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1757, allocations: 0 / 0.6948 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.924e-05/0.1757, allocations: 4 kB / 0.6948 GB, free: 2.867 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.1759, allocations: 153.7 kB / 0.695 GB, free: 2.668 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.395e-05/0.176, allocations: 18.56 kB / 0.695 GB, free: 2.641 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.203e-05/0.176, allocations: 8.922 kB / 0.695 GB, free: 2.629 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.176, allocations: 3.938 kB / 0.695 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.176, allocations: 38.56 kB / 0.695 GB, free: 2.578 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.176, allocations: 0 / 0.695 GB, free: 2.578 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001507/0.1762, allocations: 45.62 kB / 0.6951 GB, free: 2.527 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.1762, allocations: 51.41 kB / 0.6951 GB, free: 2.465 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.1764, allocations: 113.8 kB / 0.6952 GB, free: 2.344 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.1764, allocations: 25.7 kB / 0.6953 GB, free: 2.312 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.654e-05/0.1764, allocations: 84.14 kB / 0.6953 GB, free: 2.227 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.1765, allocations: 3.906 kB / 0.6953 GB, free: 2.223 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.1765, allocations: 17.84 kB / 0.6954 GB, free: 2.199 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1766, allocations: 314.8 kB / 0.6957 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.081e-05/0.1767, allocations: 7.984 kB / 0.6957 GB, free: 1.875 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.55e-05/0.1767, allocations: 17.91 kB / 0.6957 GB, free: 1.852 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.399e-05/0.1767, allocations: 21.7 kB / 0.6957 GB, free: 1.824 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.1767, allocations: 8.062 kB / 0.6957 GB, free: 1.816 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.094e-05/0.1768, allocations: 49.62 kB / 0.6958 GB, free: 1.762 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1769, allocations: 11.88 kB / 0.6958 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.1769, allocations: 4 kB / 0.6958 GB, free: 1.746 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1769, allocations: 0 / 0.6958 GB, free: 1.746 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.886e-05/0.177, allocations: 7.938 kB / 0.6958 GB, free: 1.738 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.177, allocations: 0 / 0.6958 GB, free: 1.738 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.464e-05/0.177, allocations: 0 / 0.6958 GB, free: 1.738 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-06/0.177, allocations: 0 / 0.6958 GB, free: 1.738 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 8.205e-05/0.1771, allocations: 118.5 kB / 0.6959 GB, free: 1.613 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.1771, allocations: 7.938 kB / 0.6959 GB, free: 1.605 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.1772, allocations: 49.16 kB / 0.6959 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1772, allocations: 0 / 0.6959 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1773, allocations: 0 / 0.6959 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1773, allocations: 0 / 0.6959 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.1774, allocations: 161.6 kB / 0.6961 GB, free: 1.344 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1774, allocations: 0 / 0.6961 GB, free: 1.344 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.985e-05/0.1775, allocations: 3.984 kB / 0.6961 GB, free: 1.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.1775, allocations: 11.97 kB / 0.6961 GB, free: 1.328 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.1775, allocations: 0 / 0.6961 GB, free: 1.328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1775, allocations: 0 / 0.6961 GB, free: 1.328 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1775, allocations: 0 / 0.6961 GB, free: 1.328 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.1776, allocations: 81.05 kB / 0.6962 GB, free: 1.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.1777, allocations: 85.12 kB / 0.6963 GB, free: 1.129 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.1777, allocations: 3.938 kB / 0.6963 GB, free: 1.125 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.063e-05/0.1777, allocations: 96 / 0.6963 GB, free: 1.125 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.1778, allocations: 8 kB / 0.6963 GB, free: 1.117 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.1778, allocations: 0 / 0.6963 GB, free: 1.117 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.667e-05/0.1778, allocations: 91.27 kB / 0.6964 GB, free: 1.027 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1778, allocations: 0 / 0.6964 GB, free: 1.027 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001776/0.178, allocations: 0 / 0.6964 GB, free: 1.027 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.0004182/0.1784, allocations: 0.6202 MB / 0.697 GB, free: 388 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.469e-05/0.1785, allocations: 15.92 kB / 0.697 GB, free: 372 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1785, allocations: 0 / 0.697 GB, free: 372 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.299e-05/0.1786, allocations: 4 kB / 0.697 GB, free: 368 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.1787, allocations: 8 kB / 0.697 GB, free: 360 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.1798, allocations: 1.153 MB / 0.6981 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.1802, allocations: 0.6806 MB / 0.6988 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.789e-05/0.1802, allocations: 4 kB / 0.6988 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.377e-05/0.1802, allocations: 15.36 kB / 0.6988 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1802, allocations: 0 / 0.6988 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02647/0.2067, allocations: 1.186 MB / 0.7 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.774/7.981, allocations: 6.438 kB / 0.7 GB, free: 13.27 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5_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_Example5.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1)