Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example2,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.393/1.393, allocations: 249.3 MB / 261.8 MB, free: 5.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001612/0.001612, allocations: 184.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.1 MB / 0.572 GB, free: 10.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 91.34 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.481e-05/3.482e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2181, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.544/1.762, allocations: 398 MB / 1.281 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/1.763, allocations: 92.94 kB / 1.281 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.52/3.283, allocations: 478.3 MB / 1.748 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.643e-06/3.283, allocations: 0 / 1.748 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001513/3.283, allocations: 40.28 kB / 1.748 GB, free: 171.6 MB / 0.8698 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.002741/3.286, allocations: 1.515 MB / 1.749 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/3.286, allocations: 8.781 kB / 1.749 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001445/3.286, allocations: 125.2 kB / 1.749 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009784/3.287, allocations: 233.8 kB / 1.75 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003944/3.291, allocations: 1.938 MB / 1.751 GB, free: 169 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.039e-05/3.291, allocations: 59.94 kB / 1.751 GB, free: 169 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/3.291, allocations: 90.91 kB / 1.752 GB, free: 169 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/3.293, allocations: 0.9159 MB / 1.752 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/3.293, allocations: 3.562 kB / 1.752 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.463e-05/3.293, allocations: 31.47 kB / 1.753 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/3.293, allocations: 22.27 kB / 1.753 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/3.294, allocations: 0.6403 MB / 1.753 GB, free: 168.1 MB / 0.8698 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.005159/3.299, allocations: 4.611 MB / 1.758 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007917/3.3, allocations: 0.5339 MB / 1.758 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000396/3.301, allocations: 289.8 kB / 1.758 GB, free: 163 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002308/3.303, allocations: 1.701 MB / 1.76 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004194/3.303, allocations: 313.6 kB / 1.76 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004963/3.304, allocations: 109.5 kB / 1.761 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=46): time 2.295e-06/3.304, allocations: 0 / 1.761 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=46): time 0.001052/3.305, allocations: 0.6457 MB / 1.761 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/3.305, allocations: 59.39 kB / 1.761 GB, free: 160 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/3.306, allocations: 1.105 MB / 1.762 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/3.306, allocations: 41.7 kB / 1.762 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004416/3.307, allocations: 0.6519 MB / 1.763 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/3.307, allocations: 157.7 kB / 1.763 GB, free: 158 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/3.307, allocations: 16 kB / 1.763 GB, free: 158 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.744e-05/3.307, allocations: 330 kB / 1.763 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/3.307, allocations: 201.5 kB / 1.764 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004311/3.308, allocations: 0.5353 MB / 1.764 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004001/3.308, allocations: 323.8 kB / 1.764 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/3.308, allocations: 4 kB / 1.764 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001267/3.309, allocations: 0.9454 MB / 1.765 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005517/3.31, allocations: 3.047 MB / 1.768 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/3.31, allocations: 4 kB / 1.768 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003455/3.31, allocations: 146.9 kB / 1.769 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005323/3.311, allocations: 143.8 kB / 1.769 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005718/3.311, allocations: 0.7658 MB / 1.769 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009294/3.312, allocations: 85.69 kB / 1.769 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.408e-05/3.313, allocations: 43.98 kB / 1.77 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/3.313, allocations: 9.203 kB / 1.77 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001163/3.314, allocations: 0.8501 MB / 1.77 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/3.314, allocations: 10.62 kB / 1.77 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000173/3.314, allocations: 104.8 kB / 1.77 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004422/3.314, allocations: 142.3 kB / 1.771 GB, free: 150 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/3.316, allocations: 2.198 MB / 1.773 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008292/3.317, allocations: 82.75 kB / 1.773 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.969e-05/3.317, allocations: 36.09 kB / 1.773 GB, free: 147.6 MB / 0.8698 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.0001924/3.317, allocations: 167 kB / 1.773 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/3.317, allocations: 126.4 kB / 1.773 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/3.319, allocations: 0.814 MB / 1.774 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/3.319, allocations: 8 kB / 1.774 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/3.319, allocations: 2.781 kB / 1.774 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008108/3.32, allocations: 0.8259 MB / 1.775 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002529/3.322, allocations: 1.823 MB / 1.777 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/3.322, allocations: 0 / 1.777 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003889/3.322, allocations: 83.88 kB / 1.777 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002359/3.323, allocations: 118.8 kB / 1.777 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.458e-05/3.323, allocations: 15.98 kB / 1.777 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004501/3.323, allocations: 0.7496 MB / 1.777 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/3.323, allocations: 0 / 1.777 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/3.325, allocations: 1.154 MB / 1.779 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000493/3.325, allocations: 259.4 kB / 1.779 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/3.325, allocations: 15.98 kB / 1.779 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006039/3.326, allocations: 73.69 kB / 1.779 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.994e-05/3.326, allocations: 36.38 kB / 1.779 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.656e-05/3.326, allocations: 23.98 kB / 1.779 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001022/3.327, allocations: 0.8719 MB / 1.78 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/3.327, allocations: 0 / 1.78 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002163/3.329, allocations: 0.7234 MB / 1.781 GB, free: 139.5 MB / 0.8698 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.00275/3.332, allocations: 2.429 MB / 1.783 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001943/3.334, allocations: 1.263 MB / 1.784 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/3.334, allocations: 0 / 1.784 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000452/3.334, allocations: 302.3 kB / 1.784 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002389/3.337, allocations: 0.5631 MB / 1.785 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003386/3.34, allocations: 2.081 MB / 1.787 GB, free: 133 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000562/3.341, allocations: 1.301 MB / 1.788 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00168/3.342, allocations: 0.5626 MB / 1.789 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004708/3.343, allocations: 475.2 kB / 1.789 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of SimCode: time 7.51e-07/3.343, allocations: 0 / 1.789 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06277/3.406, allocations: 44 MB / 1.832 GB, free: 87.34 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/3.406, allocations: 219.1 kB / 1.832 GB, free: 87.12 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.57/6.976, allocations: 3.938 kB / 1.832 GB, free: 87.12 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example2.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)