Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.505/2.505, allocations: 287.3 MB / 302.3 MB, free: 8.297 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.001544/0.001544, allocations: 181.4 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 90.17 kB / 0.7428 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007215/0.0007215, allocations: 17.58 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2211, allocations: 115.3 MB / 0.9783 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.294/1.516, allocations: 404.1 MB / 1.373 GB, free: 9.336 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/1.516, allocations: 89.89 kB / 1.373 GB, free: 9.289 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.722/5.238, allocations: 0.6891 GB / 2.062 GB, free: 67.65 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.784e-06/5.238, allocations: 0 / 2.062 GB, free: 67.65 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0004476/5.238, allocations: 60.06 kB / 2.062 GB, free: 67.59 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.01177/5.25, allocations: 2.433 MB / 2.065 GB, free: 65.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/5.25, allocations: 8.031 kB / 2.065 GB, free: 65.09 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000706/5.251, allocations: 151.8 kB / 2.065 GB, free: 64.93 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002461/5.253, allocations: 288.5 kB / 2.065 GB, free: 64.65 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01082/5.264, allocations: 2.549 MB / 2.067 GB, free: 62.05 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/5.264, allocations: 82 kB / 2.068 GB, free: 61.97 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003366/5.265, allocations: 107.9 kB / 2.068 GB, free: 61.87 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003364/5.268, allocations: 1.248 MB / 2.069 GB, free: 60.54 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.979e-05/5.268, allocations: 7.938 kB / 2.069 GB, free: 60.53 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001604/5.268, allocations: 40 kB / 2.069 GB, free: 60.49 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/5.268, allocations: 24 kB / 2.069 GB, free: 60.47 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003103/5.271, allocations: 0.9484 MB / 2.07 GB, free: 59.52 MB / 0.9323 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.01155/5.283, allocations: 6.602 MB / 2.076 GB, free: 52.45 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002081/5.285, allocations: 0.6116 MB / 2.077 GB, free: 51.83 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004332/5.29, allocations: 1.636 MB / 2.079 GB, free: 50.07 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001085/5.291, allocations: 369.2 kB / 2.079 GB, free: 49.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001342/5.292, allocations: 131.3 kB / 2.079 GB, free: 49.57 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=47): time 4.689e-06/5.292, allocations: 4 kB / 2.079 GB, free: 49.57 MB / 0.9323 GB Notification: Performance of matching and sorting (n=47): time 0.005287/5.297, allocations: 1.26 MB / 2.08 GB, free: 48.28 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/5.298, allocations: 55.84 kB / 2.08 GB, free: 48.21 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003354/5.301, allocations: 1.56 MB / 2.082 GB, free: 46.62 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002041/5.301, allocations: 45.7 kB / 2.082 GB, free: 46.57 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009223/5.302, allocations: 0.8425 MB / 2.083 GB, free: 45.71 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/5.302, allocations: 169.6 kB / 2.083 GB, free: 45.55 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.616e-05/5.302, allocations: 16 kB / 2.083 GB, free: 45.53 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.858e-05/5.303, allocations: 337.9 kB / 2.083 GB, free: 45.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009979/5.304, allocations: 285.8 kB / 2.083 GB, free: 44.92 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/5.305, allocations: 0.7262 MB / 2.084 GB, free: 43.98 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/5.306, allocations: 421.3 kB / 2.085 GB, free: 43.56 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/5.306, allocations: 4 kB / 2.085 GB, free: 43.55 MB / 0.9323 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003727/5.31, allocations: 1.215 MB / 2.086 GB, free: 42.32 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009135/5.311, allocations: 4.13 MB / 2.09 GB, free: 37.87 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.592e-05/5.311, allocations: 12 kB / 2.09 GB, free: 37.86 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006866/5.311, allocations: 136.8 kB / 2.09 GB, free: 37.72 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/5.313, allocations: 171.7 kB / 2.09 GB, free: 37.55 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000902/5.314, allocations: 0.764 MB / 2.091 GB, free: 36.77 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002208/5.316, allocations: 111.8 kB / 2.091 GB, free: 36.66 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001957/5.316, allocations: 43.98 kB / 2.091 GB, free: 36.61 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/5.316, allocations: 10.48 kB / 2.091 GB, free: 36.61 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002886/5.319, allocations: 1.07 MB / 2.092 GB, free: 35.51 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/5.319, allocations: 12 kB / 2.092 GB, free: 35.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003595/5.319, allocations: 121.7 kB / 2.092 GB, free: 35.38 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/5.321, allocations: 163.7 kB / 2.092 GB, free: 35.22 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002996/5.324, allocations: 2.15 MB / 2.094 GB, free: 32.94 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/5.326, allocations: 99.75 kB / 2.095 GB, free: 32.84 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001688/5.326, allocations: 44 kB / 2.095 GB, free: 32.8 MB / 0.9323 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 () * Number of clocked 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.001432/5.327, allocations: 0.5864 MB / 2.095 GB, free: 32.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005317/5.328, allocations: 177.8 kB / 2.095 GB, free: 32.03 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003321/5.331, allocations: 0.9965 MB / 2.096 GB, free: 31.02 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/5.331, allocations: 4 kB / 2.096 GB, free: 31.02 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/5.331, allocations: 4 kB / 2.096 GB, free: 31.01 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002294/5.334, allocations: 0.945 MB / 2.097 GB, free: 30 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005966/5.34, allocations: 2.179 MB / 2.099 GB, free: 27.73 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.607e-06/5.34, allocations: 0 / 2.099 GB, free: 27.73 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007944/5.341, allocations: 87.81 kB / 2.099 GB, free: 27.64 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005164/5.341, allocations: 124.9 kB / 2.1 GB, free: 27.52 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.808e-05/5.341, allocations: 19.98 kB / 2.1 GB, free: 27.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007177/5.342, allocations: 0.7323 MB / 2.1 GB, free: 26.74 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/5.342, allocations: 0 / 2.1 GB, free: 26.74 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00396/5.346, allocations: 1.411 MB / 2.102 GB, free: 25.28 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/5.347, allocations: 314.8 kB / 2.102 GB, free: 24.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003247/5.347, allocations: 12 kB / 2.102 GB, free: 24.94 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/5.349, allocations: 79.83 kB / 2.102 GB, free: 24.86 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/5.349, allocations: 44.33 kB / 2.102 GB, free: 24.82 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.073e-05/5.349, allocations: 27.98 kB / 2.102 GB, free: 24.79 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002509/5.352, allocations: 1.231 MB / 2.103 GB, free: 23.54 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.41e-07/5.352, allocations: 0 / 2.103 GB, free: 23.54 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004073/5.356, allocations: 0.8698 MB / 2.104 GB, free: 22.67 MB / 0.9323 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) * 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 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.005838/5.362, allocations: 2.722 MB / 2.107 GB, free: 19.92 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004155/5.366, allocations: 1.445 MB / 2.108 GB, free: 18.44 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.924e-06/5.366, allocations: 1.438 kB / 2.108 GB, free: 18.44 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001159/5.367, allocations: 346.2 kB / 2.109 GB, free: 18.11 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005947/5.373, allocations: 0.7376 MB / 2.109 GB, free: 17.38 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/5.386, allocations: 11.82 MB / 2.121 GB, free: 5.09 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00122/5.388, allocations: 1.535 MB / 2.122 GB, free: 3.527 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002806/5.39, allocations: 434 kB / 2.123 GB, free: 3.098 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001488/5.392, allocations: 0.6554 MB / 2.123 GB, free: 2.441 MB / 0.9323 GB Notification: Performance of SimCode: time 1.182e-06/5.392, allocations: 0 / 2.123 GB, free: 2.441 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8813/6.273, allocations: 50.41 MB / 2.173 GB, free: 225.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002603/6.274, allocations: 250.1 kB / 2.173 GB, free: 225.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.633/10.91, allocations: 1.125 kB / 2.173 GB, free: 225.4 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example3.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)