Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.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.Example3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example3",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.373/1.373, allocations: 249.3 MB / 261.8 MB, free: 5.887 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.0009778/0.0009778, allocations: 180.9 kB / 321.3 MB, free: 14.62 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.366/1.366, allocations: 205.2 MB / 0.572 GB, free: 10.63 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.0008718/0.0008718, allocations: 98.47 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.332e-05/3.334e-05, allocations: 8 kB / 0.788 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1951, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.467/1.663, allocations: 397.9 MB / 1.28 GB, free: 313.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003442/1.663, allocations: 95.59 kB / 1.281 GB, free: 313.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.595/4.258, allocations: 0.6864 GB / 1.967 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.613e-06/4.258, allocations: 0 / 1.967 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0004055/4.258, allocations: 47.39 kB / 1.967 GB, free: 184.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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.006774/4.265, allocations: 1.851 MB / 1.969 GB, free: 184 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/4.265, allocations: 10.69 kB / 1.969 GB, free: 184 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000604/4.266, allocations: 148.9 kB / 1.969 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002301/4.268, allocations: 278.9 kB / 1.969 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008634/4.277, allocations: 2.518 MB / 1.972 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001488/4.277, allocations: 77.69 kB / 1.972 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004619/4.277, allocations: 106 kB / 1.972 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003072/4.28, allocations: 1.208 MB / 1.973 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.422e-05/4.28, allocations: 3.094 kB / 1.973 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000162/4.281, allocations: 40.69 kB / 1.973 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.03e-05/4.281, allocations: 22.94 kB / 1.973 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/4.283, allocations: 0.8877 MB / 1.974 GB, free: 183.2 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.009781/4.292, allocations: 6.621 MB / 1.98 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/4.293, allocations: 0.5457 MB / 1.981 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004702/4.294, allocations: 376 kB / 1.981 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003256/4.297, allocations: 1.623 MB / 1.983 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004934/4.298, allocations: 342.3 kB / 1.983 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001129/4.299, allocations: 139.6 kB / 1.983 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 8.616e-06/4.299, allocations: 0 / 1.983 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47): time 0.00178/4.301, allocations: 0.7606 MB / 1.984 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/4.301, allocations: 59.44 kB / 1.984 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003039/4.304, allocations: 1.544 MB / 1.986 GB, free: 178 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.936e-05/4.304, allocations: 43.52 kB / 1.986 GB, free: 178 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008187/4.305, allocations: 0.8441 MB / 1.987 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/4.305, allocations: 169.3 kB / 1.987 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/4.305, allocations: 14.44 kB / 1.987 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.018e-05/4.305, allocations: 336 kB / 1.987 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003783/4.305, allocations: 253.8 kB / 1.987 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005714/4.306, allocations: 0.6864 MB / 1.988 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005795/4.307, allocations: 396.7 kB / 1.988 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/4.307, allocations: 3.969 kB / 1.988 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001943/4.309, allocations: 1.137 MB / 1.989 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009184/4.31, allocations: 4.129 MB / 1.994 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.597e-05/4.31, allocations: 11.69 kB / 1.994 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003986/4.31, allocations: 140.5 kB / 1.994 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006705/4.311, allocations: 177.8 kB / 1.994 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005589/4.311, allocations: 0.7514 MB / 1.995 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/4.313, allocations: 108 kB / 1.995 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/4.313, allocations: 51.03 kB / 1.995 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/4.313, allocations: 3.781 kB / 1.995 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001544/4.314, allocations: 1.011 MB / 1.996 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/4.315, allocations: 10.66 kB / 1.996 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002068/4.315, allocations: 117.8 kB / 1.996 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000549/4.315, allocations: 165.6 kB / 1.996 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001945/4.317, allocations: 2.116 MB / 1.998 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/4.319, allocations: 105.9 kB / 1.998 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/4.319, allocations: 44.3 kB / 1.998 GB, free: 170.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002734/4.319, allocations: 155.7 kB / 1.998 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004878/4.32, allocations: 179.1 kB / 1.999 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002052/4.322, allocations: 0.9459 MB / 1.999 GB, free: 170 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/4.322, allocations: 3.906 kB / 1.999 GB, free: 170 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/4.322, allocations: 3.344 kB / 1.999 GB, free: 170 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009929/4.323, allocations: 0.892 MB / 2 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004796/4.328, allocations: 2.113 MB / 2.002 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/4.328, allocations: 3.719 kB / 2.002 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004467/4.328, allocations: 91.11 kB / 2.002 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002846/4.328, allocations: 116.5 kB / 2.003 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.066e-05/4.328, allocations: 17.34 kB / 2.003 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004838/4.329, allocations: 0.7378 MB / 2.003 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/4.329, allocations: 0 / 2.003 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/4.331, allocations: 1.312 MB / 2.005 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/4.332, allocations: 322.7 kB / 2.005 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005164/4.332, allocations: 7.531 kB / 2.005 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/4.334, allocations: 84.08 kB / 2.005 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/4.334, allocations: 36.56 kB / 2.005 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-05/4.334, allocations: 24.45 kB / 2.005 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00205/4.336, allocations: 1.214 MB / 2.006 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/4.336, allocations: 0 / 2.006 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003843/4.34, allocations: 0.8579 MB / 2.007 GB, free: 167.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.003735/4.343, allocations: 2.639 MB / 2.01 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002394/4.346, allocations: 1.414 MB / 2.011 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/4.346, allocations: 6.938 kB / 2.011 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005044/4.346, allocations: 303.2 kB / 2.011 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004597/4.351, allocations: 0.7421 MB / 2.012 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007929/4.359, allocations: 2.728 MB / 2.015 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001338/4.36, allocations: 1.533 MB / 2.016 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003338/4.364, allocations: 0.8963 MB / 2.017 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008319/4.365, allocations: 0.6201 MB / 2.018 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.443e-06/4.365, allocations: 0 / 2.018 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09153/4.456, allocations: 54.62 MB / 2.071 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/4.456, allocations: 220.5 kB / 2.071 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.773/8.229, allocations: 0 / 2.071 GB, free: 162.6 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example3.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)