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.392/1.392, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001264/0.001264, allocations: 185.1 kB / 326.5 MB, free: 2.25 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.809/1.809, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.001024/0.001025, allocations: 102 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003361/0.0003361, allocations: 12.91 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2213, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9774/1.199, allocations: 398 MB / 1.289 GB, free: 1.418 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/1.199, allocations: 102.6 kB / 1.289 GB, free: 1.363 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.118/3.317, allocations: 480.1 MB / 1.758 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.377e-06/3.317, allocations: 0 / 1.758 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003825/3.317, allocations: 40.38 kB / 1.758 GB, free: 227.8 MB / 0.8855 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.007827/3.325, allocations: 1.961 MB / 1.76 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/3.325, allocations: 9.688 kB / 1.76 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005145/3.326, allocations: 122.8 kB / 1.76 GB, free: 227.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/3.328, allocations: 239.2 kB / 1.76 GB, free: 227 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007058/3.335, allocations: 1.966 MB / 1.762 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001674/3.335, allocations: 60.41 kB / 1.762 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004159/3.335, allocations: 85.12 kB / 1.762 GB, free: 226.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003124/3.338, allocations: 0.9582 MB / 1.763 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.839e-05/3.338, allocations: 2.438 kB / 1.763 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001887/3.339, allocations: 31.41 kB / 1.763 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.085e-05/3.339, allocations: 18.5 kB / 1.763 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00247/3.341, allocations: 0.7131 MB / 1.764 GB, free: 226.5 MB / 0.8855 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.01038/3.352, allocations: 4.608 MB / 1.768 GB, free: 224 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/3.353, allocations: 0.5997 MB / 1.769 GB, free: 224 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003831/3.357, allocations: 1.7 MB / 1.771 GB, free: 223.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007727/3.358, allocations: 340.5 kB / 1.771 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009429/3.359, allocations: 119.7 kB / 1.771 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=46): time 6.703e-06/3.359, allocations: 0 / 1.771 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=46): time 0.003041/3.362, allocations: 1.118 MB / 1.772 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/3.362, allocations: 65.53 kB / 1.772 GB, free: 222.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/3.364, allocations: 1.117 MB / 1.773 GB, free: 222.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.708e-05/3.364, allocations: 38.77 kB / 1.773 GB, free: 222.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006341/3.365, allocations: 0.6415 MB / 1.774 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/3.365, allocations: 162.6 kB / 1.774 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/3.365, allocations: 16.12 kB / 1.774 GB, free: 222.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.838e-05/3.365, allocations: 334.9 kB / 1.774 GB, free: 222.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005216/3.366, allocations: 237.6 kB / 1.775 GB, free: 222.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006791/3.366, allocations: 0.5727 MB / 1.775 GB, free: 221.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006779/3.367, allocations: 351.6 kB / 1.776 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/3.367, allocations: 3.969 kB / 1.776 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002149/3.369, allocations: 1.009 MB / 1.777 GB, free: 221.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007915/3.37, allocations: 3.055 MB / 1.78 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/3.37, allocations: 10.92 kB / 1.78 GB, free: 218.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003837/3.37, allocations: 139.7 kB / 1.78 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005791/3.371, allocations: 148.6 kB / 1.78 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006516/3.372, allocations: 0.7681 MB / 1.781 GB, free: 217.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/3.373, allocations: 81.02 kB / 1.781 GB, free: 217.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/3.373, allocations: 43.67 kB / 1.781 GB, free: 217.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/3.373, allocations: 3.188 kB / 1.781 GB, free: 217.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001769/3.375, allocations: 0.9145 MB / 1.782 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.447e-05/3.375, allocations: 8.156 kB / 1.782 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002343/3.375, allocations: 105.8 kB / 1.782 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005148/3.376, allocations: 143.4 kB / 1.782 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002362/3.378, allocations: 2.228 MB / 1.784 GB, free: 216.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/3.379, allocations: 78.19 kB / 1.784 GB, free: 216.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/3.379, allocations: 39.42 kB / 1.784 GB, free: 216.2 MB / 0.8855 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 () * Number of clocked 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.001112/3.381, allocations: 480.8 kB / 1.785 GB, free: 216 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004716/3.381, allocations: 135.3 kB / 1.785 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002667/3.384, allocations: 0.8782 MB / 1.786 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/3.384, allocations: 8.875 kB / 1.786 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/3.384, allocations: 0.5625 kB / 1.786 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001541/3.385, allocations: 0.8848 MB / 1.786 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00417/3.389, allocations: 1.87 MB / 1.788 GB, free: 215.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/3.39, allocations: 0 / 1.788 GB, free: 215.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004216/3.39, allocations: 89.7 kB / 1.788 GB, free: 215.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002767/3.39, allocations: 132.5 kB / 1.788 GB, free: 215.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.821e-05/3.39, allocations: 13.33 kB / 1.789 GB, free: 215.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005031/3.391, allocations: 0.7516 MB / 1.789 GB, free: 214.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/3.391, allocations: 0 / 1.789 GB, free: 214.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/3.393, allocations: 1.242 MB / 1.79 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008386/3.394, allocations: 271.2 kB / 1.791 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004088/3.394, allocations: 14.03 kB / 1.791 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/3.395, allocations: 65.48 kB / 1.791 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/3.395, allocations: 43.16 kB / 1.791 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.716e-05/3.396, allocations: 28.73 kB / 1.791 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001617/3.397, allocations: 0.8732 MB / 1.792 GB, free: 214 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.71e-07/3.397, allocations: 0 / 1.792 GB, free: 214 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003429/3.401, allocations: 0.7185 MB / 1.792 GB, free: 213.9 MB / 0.8855 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) * Number of clocked states: 0 () * 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.004319/3.405, allocations: 2.528 MB / 1.795 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002877/3.408, allocations: 1.315 MB / 1.796 GB, free: 212.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/3.408, allocations: 0 / 1.796 GB, free: 212.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007107/3.409, allocations: 336.2 kB / 1.796 GB, free: 212.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003057/3.412, allocations: 0.5645 MB / 1.797 GB, free: 212.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008804/3.42, allocations: 8.804 MB / 1.806 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/3.422, allocations: 1.298 MB / 1.807 GB, free: 204.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001624/3.423, allocations: 303.2 kB / 1.807 GB, free: 204.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007826/3.424, allocations: 0.4907 MB / 1.808 GB, free: 204.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.453e-06/3.424, allocations: 0 / 1.808 GB, free: 204.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07012/3.494, allocations: 40.74 MB / 1.847 GB, free: 203 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/3.494, allocations: 257.2 kB / 1.848 GB, free: 202.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.37/6.865, allocations: 3.656 kB / 1.848 GB, free: 202.7 MB / 0.8855 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)