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.384/1.384, allocations: 249.5 MB / 257 MB, free: 6.871 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.001032/0.001032, allocations: 184.9 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.001003/0.001003, allocations: 87.39 kB / 0.6714 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.664e-05/1.665e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1792, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.401/1.581, allocations: 398.3 MB / 1.274 GB, free: 317.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/1.581, allocations: 93.02 kB / 1.274 GB, free: 317.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.455/3.036, allocations: 475.4 MB / 1.739 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.593e-06/3.036, allocations: 3.156 kB / 1.739 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001579/3.037, allocations: 35.67 kB / 1.739 GB, free: 191.1 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.003157/3.04, allocations: 1.524 MB / 1.74 GB, free: 190 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/3.04, allocations: 10.72 kB / 1.74 GB, free: 190 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/3.041, allocations: 233.5 kB / 1.74 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004528/3.046, allocations: 1.937 MB / 1.742 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.959e-05/3.046, allocations: 23 kB / 1.742 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/3.046, allocations: 53.03 kB / 1.742 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001055/3.047, allocations: 0.6163 MB / 1.743 GB, free: 188.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/3.048, allocations: 0.8136 MB / 1.744 GB, free: 187.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/3.048, allocations: 0 / 1.744 GB, free: 187.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-05/3.048, allocations: 6.672 kB / 1.744 GB, free: 187.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/3.048, allocations: 23.02 kB / 1.744 GB, free: 187.8 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.005202/3.053, allocations: 4.453 MB / 1.748 GB, free: 184 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007321/3.054, allocations: 0.5649 MB / 1.749 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003695/3.055, allocations: 299.6 kB / 1.749 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002415/3.057, allocations: 1.659 MB / 1.751 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003949/3.057, allocations: 306.8 kB / 1.751 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005111/3.058, allocations: 86.64 kB / 1.751 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=46): time 3.266e-06/3.058, allocations: 0 / 1.751 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=46): time 0.001523/3.059, allocations: 0.7103 MB / 1.752 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/3.059, allocations: 59.14 kB / 1.752 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/3.061, allocations: 0.996 MB / 1.753 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.521e-05/3.061, allocations: 31.55 kB / 1.753 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004421/3.061, allocations: 0.6391 MB / 1.753 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/3.061, allocations: 152.4 kB / 1.753 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/3.061, allocations: 0 / 1.753 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.883e-05/3.061, allocations: 333.8 kB / 1.754 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/3.062, allocations: 204.4 kB / 1.754 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003947/3.062, allocations: 0.5366 MB / 1.754 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007862/3.063, allocations: 344.9 kB / 1.755 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/3.063, allocations: 2.875 kB / 1.755 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001675/3.065, allocations: 0.9333 MB / 1.756 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005937/3.065, allocations: 3.04 MB / 1.759 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/3.065, allocations: 11.83 kB / 1.759 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002712/3.065, allocations: 126.5 kB / 1.759 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005277/3.066, allocations: 143.7 kB / 1.759 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005963/3.067, allocations: 0.787 MB / 1.76 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009157/3.067, allocations: 68.12 kB / 1.76 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-05/3.068, allocations: 41.89 kB / 1.76 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/3.068, allocations: 6.031 kB / 1.76 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001416/3.069, allocations: 0.7829 MB / 1.761 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/3.069, allocations: 6.875 kB / 1.761 GB, free: 174.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001618/3.069, allocations: 110.3 kB / 1.761 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004365/3.07, allocations: 141.1 kB / 1.761 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001576/3.071, allocations: 2.118 MB / 1.763 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000844/3.072, allocations: 58.73 kB / 1.763 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.89e-05/3.072, allocations: 40.89 kB / 1.763 GB, free: 172.3 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.0001976/3.072, allocations: 138.3 kB / 1.763 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001203/3.074, allocations: 0.6377 MB / 1.764 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/3.074, allocations: 124.9 kB / 1.764 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/3.075, allocations: 0.8036 MB / 1.765 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/3.075, allocations: 7.703 kB / 1.765 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/3.075, allocations: 3.938 kB / 1.765 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009374/3.076, allocations: 0.8068 MB / 1.765 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002523/3.079, allocations: 1.691 MB / 1.767 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/3.079, allocations: 0 / 1.767 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004032/3.079, allocations: 85.44 kB / 1.767 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001826/3.079, allocations: 102.4 kB / 1.767 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/3.079, allocations: 11.3 kB / 1.767 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004541/3.08, allocations: 0.7489 MB / 1.768 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/3.08, allocations: 3.719 kB / 1.768 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/3.081, allocations: 1.125 MB / 1.769 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004431/3.082, allocations: 256 kB / 1.769 GB, free: 168 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/3.082, allocations: 0 / 1.769 GB, free: 168 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005935/3.082, allocations: 65.53 kB / 1.769 GB, free: 168 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.694e-05/3.083, allocations: 43.59 kB / 1.769 GB, free: 168 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.923e-05/3.083, allocations: 26.95 kB / 1.769 GB, free: 168 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008549/3.083, allocations: 0.7613 MB / 1.77 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/3.083, allocations: 0 / 1.77 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002098/3.086, allocations: 0.6978 MB / 1.771 GB, free: 167.3 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.002754/3.088, allocations: 2.382 MB / 1.773 GB, free: 165 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00184/3.09, allocations: 1.21 MB / 1.774 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/3.09, allocations: 0 / 1.774 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004034/3.091, allocations: 292 kB / 1.775 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/3.093, allocations: 0.508 MB / 1.775 GB, free: 163 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/3.096, allocations: 2.03 MB / 1.777 GB, free: 161 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005923/3.097, allocations: 1.3 MB / 1.778 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001735/3.099, allocations: 0.5512 MB / 1.779 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004801/3.099, allocations: 483.2 kB / 1.779 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of SimCode: time 6.71e-07/3.099, allocations: 0 / 1.779 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06137/3.161, allocations: 37.2 MB / 1.816 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001596/3.161, allocations: 165.1 kB / 1.816 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.2/6.361, allocations: 0 / 1.816 GB, free: 122.2 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)