Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.651/1.651, allocations: 285.6 MB / 293.1 MB, free: 10.22 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 172.9 kB / 361.4 MB, free: 6.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009267/0.0009268, allocations: 95.38 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.465e-05/2.467e-05, allocations: 4 kB / 0.8518 GB, free: 2.664 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6699/0.6699, allocations: 115.3 MB / 0.9644 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.027/1.697, allocations: 403.6 MB / 1.359 GB, free: 162.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/1.697, allocations: 93.41 kB / 1.359 GB, free: 162.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.618/3.315, allocations: 475.4 MB / 1.823 GB, free: 142.9 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.116e-06/3.316, allocations: 0 / 1.823 GB, free: 142.9 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0004153/3.316, allocations: 39.91 kB / 1.823 GB, free: 142.9 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.005426/3.321, allocations: 1.515 MB / 1.824 GB, free: 141.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.423e-05/3.322, allocations: 8.031 kB / 1.824 GB, free: 141.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/3.323, allocations: 237.9 kB / 1.825 GB, free: 141.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005112/3.328, allocations: 1.945 MB / 1.827 GB, free: 139.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.868e-05/3.328, allocations: 24 kB / 1.827 GB, free: 139.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/3.329, allocations: 56 kB / 1.827 GB, free: 139 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00107/3.33, allocations: 0.617 MB / 1.827 GB, free: 138.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/3.331, allocations: 0.8166 MB / 1.828 GB, free: 137.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/3.331, allocations: 7.875 kB / 1.828 GB, free: 137.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.884e-05/3.331, allocations: 4 kB / 1.828 GB, free: 137.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/3.331, allocations: 19.95 kB / 1.828 GB, free: 137.5 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.005362/3.336, allocations: 4.445 MB / 1.832 GB, free: 132.8 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007687/3.337, allocations: 0.5624 MB / 1.833 GB, free: 132.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003883/3.338, allocations: 302 kB / 1.833 GB, free: 132 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002436/3.34, allocations: 1.665 MB / 1.835 GB, free: 130.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004003/3.34, allocations: 298.3 kB / 1.835 GB, free: 129.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005475/3.341, allocations: 95.45 kB / 1.835 GB, free: 129.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=46): time 5.811e-06/3.341, allocations: 0 / 1.835 GB, free: 129.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=46): time 0.001712/3.343, allocations: 0.7026 MB / 1.836 GB, free: 129.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/3.343, allocations: 59.34 kB / 1.836 GB, free: 129 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/3.344, allocations: 0.9989 MB / 1.837 GB, free: 128 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.526e-05/3.344, allocations: 29.7 kB / 1.837 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000526/3.345, allocations: 0.6484 MB / 1.838 GB, free: 127.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/3.345, allocations: 153.8 kB / 1.838 GB, free: 127.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/3.345, allocations: 0 / 1.838 GB, free: 127.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.208e-05/3.345, allocations: 334 kB / 1.838 GB, free: 126.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/3.345, allocations: 209.5 kB / 1.838 GB, free: 126.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004103/3.346, allocations: 0.5322 MB / 1.839 GB, free: 125.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008722/3.347, allocations: 338.6 kB / 1.839 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/3.347, allocations: 4 kB / 1.839 GB, free: 125.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001849/3.348, allocations: 0.9323 MB / 1.84 GB, free: 124.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007884/3.349, allocations: 3.038 MB / 1.843 GB, free: 121.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/3.349, allocations: 11.98 kB / 1.843 GB, free: 121.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003103/3.35, allocations: 120.8 kB / 1.843 GB, free: 121.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005437/3.35, allocations: 147.7 kB / 1.843 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006216/3.351, allocations: 0.7903 MB / 1.844 GB, free: 120.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009912/3.352, allocations: 63.8 kB / 1.844 GB, free: 120.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.23e-05/3.352, allocations: 39.97 kB / 1.844 GB, free: 120.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/3.352, allocations: 5.094 kB / 1.844 GB, free: 120.2 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001526/3.353, allocations: 0.7863 MB / 1.845 GB, free: 119.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/3.353, allocations: 12.38 kB / 1.845 GB, free: 119.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001699/3.354, allocations: 100.8 kB / 1.845 GB, free: 119.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004739/3.354, allocations: 143.7 kB / 1.845 GB, free: 119.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/3.356, allocations: 2.116 MB / 1.847 GB, free: 116.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009281/3.357, allocations: 67.84 kB / 1.847 GB, free: 116.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.639e-05/3.357, allocations: 36.11 kB / 1.847 GB, free: 116.8 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002166/3.357, allocations: 132.7 kB / 1.847 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001328/3.358, allocations: 0.6482 MB / 1.848 GB, free: 116 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/3.359, allocations: 122.4 kB / 1.848 GB, free: 115.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/3.36, allocations: 0.8024 MB / 1.849 GB, free: 115.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/3.36, allocations: 4 kB / 1.849 GB, free: 115.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/3.36, allocations: 4 kB / 1.849 GB, free: 115.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001016/3.361, allocations: 0.8084 MB / 1.85 GB, free: 114.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002971/3.364, allocations: 1.682 MB / 1.851 GB, free: 112.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/3.364, allocations: 0 / 1.851 GB, free: 112.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/3.365, allocations: 83.88 kB / 1.852 GB, free: 112.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001837/3.365, allocations: 104.8 kB / 1.852 GB, free: 112.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.064e-05/3.365, allocations: 11.98 kB / 1.852 GB, free: 112.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005108/3.365, allocations: 0.7504 MB / 1.852 GB, free: 111.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/3.365, allocations: 4 kB / 1.852 GB, free: 111.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/3.367, allocations: 1.11 MB / 1.853 GB, free: 110.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005074/3.367, allocations: 267.4 kB / 1.854 GB, free: 110 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002385/3.368, allocations: 4 kB / 1.854 GB, free: 110 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007381/3.368, allocations: 59.98 kB / 1.854 GB, free: 110 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/3.369, allocations: 36.39 kB / 1.854 GB, free: 109.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-05/3.369, allocations: 31.91 kB / 1.854 GB, free: 109.9 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.00106/3.37, allocations: 0.7631 MB / 1.855 GB, free: 109.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.9e-07/3.37, allocations: 3.938 kB / 1.855 GB, free: 109.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002551/3.372, allocations: 0.6898 MB / 1.855 GB, free: 108.4 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003281/3.375, allocations: 2.391 MB / 1.858 GB, free: 106.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002043/3.378, allocations: 1.208 MB / 1.859 GB, free: 104.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/3.378, allocations: 0 / 1.859 GB, free: 104.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004507/3.378, allocations: 290.6 kB / 1.859 GB, free: 104.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/3.38, allocations: 0.5043 MB / 1.86 GB, free: 104 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00446/3.385, allocations: 2.033 MB / 1.862 GB, free: 102 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007933/3.386, allocations: 1.304 MB / 1.863 GB, free: 100.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002034/3.388, allocations: 0.5549 MB / 1.863 GB, free: 100.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005661/3.388, allocations: 471.3 kB / 1.864 GB, free: 99.61 MB / 0.9323 GB Notification: Performance of SimCode: time 1.132e-06/3.388, allocations: 0 / 1.864 GB, free: 99.61 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07023/3.459, allocations: 37.19 MB / 1.9 GB, free: 62.71 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/3.459, allocations: 173.1 kB / 1.9 GB, free: 62.52 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.284/6.742, allocations: 0 / 1.9 GB, free: 62.52 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example2.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)