Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.828/1.828, allocations: 292.6 MB / 307.5 MB, free: 5.219 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.001504/0.001504, allocations: 186.2 kB / 377.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.786/1.786, allocations: 205.4 MB / 0.6366 GB, free: 8.625 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009895/0.0009896, allocations: 93.08 kB / 0.7509 GB, free: 63.17 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000372/0.0003719, allocations: 8 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3093, allocations: 116.3 MB / 0.9884 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.788/2.098, allocations: 405.3 MB / 1.384 GB, free: 246.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/2.098, allocations: 94.64 kB / 1.384 GB, free: 246.5 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.065/4.163, allocations: 0.6891 GB / 2.073 GB, free: 14.21 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.715e-06/4.163, allocations: 0 / 2.073 GB, free: 14.21 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002063/4.164, allocations: 55.97 kB / 2.073 GB, free: 14.15 MB / 0.948 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.006444/4.17, allocations: 2.446 MB / 2.076 GB, free: 11.64 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/4.17, allocations: 8.031 kB / 2.076 GB, free: 11.64 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003367/4.17, allocations: 147.8 kB / 2.076 GB, free: 11.48 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/4.172, allocations: 288.2 kB / 2.076 GB, free: 11.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006098/4.178, allocations: 2.545 MB / 2.079 GB, free: 8.609 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-05/4.178, allocations: 82 kB / 2.079 GB, free: 8.527 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/4.178, allocations: 104 kB / 2.079 GB, free: 8.426 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/4.18, allocations: 1.249 MB / 2.08 GB, free: 7.102 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/4.18, allocations: 3.938 kB / 2.08 GB, free: 7.098 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.471e-05/4.18, allocations: 44 kB / 2.08 GB, free: 7.055 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.313e-05/4.18, allocations: 30.41 kB / 2.08 GB, free: 7.027 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001531/4.182, allocations: 0.9523 MB / 2.081 GB, free: 6.07 MB / 0.948 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.6304/4.812, allocations: 6.605 MB / 2.088 GB, free: 180.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/4.814, allocations: 0.6156 MB / 2.088 GB, free: 180.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003203/4.817, allocations: 1.607 MB / 2.09 GB, free: 180.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007061/4.818, allocations: 377.6 kB / 2.09 GB, free: 180.1 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008594/4.818, allocations: 134.6 kB / 2.09 GB, free: 180.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 4.819e-06/4.818, allocations: 1.266 kB / 2.09 GB, free: 180.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.002847/4.821, allocations: 1.254 MB / 2.091 GB, free: 179.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/4.821, allocations: 57.38 kB / 2.092 GB, free: 179.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002135/4.824, allocations: 1.565 MB / 2.093 GB, free: 179.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.126e-05/4.824, allocations: 41.95 kB / 2.093 GB, free: 179.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007448/4.824, allocations: 0.8496 MB / 2.094 GB, free: 179.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/4.825, allocations: 164.3 kB / 2.094 GB, free: 179.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/4.825, allocations: 15.88 kB / 2.094 GB, free: 179.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.102e-05/4.825, allocations: 337.3 kB / 2.094 GB, free: 179.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005724/4.825, allocations: 286.8 kB / 2.095 GB, free: 179.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007873/4.826, allocations: 0.7248 MB / 2.095 GB, free: 178.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006843/4.827, allocations: 419.8 kB / 2.096 GB, free: 178.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/4.827, allocations: 5.312 kB / 2.096 GB, free: 178.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002184/4.829, allocations: 1.22 MB / 2.097 GB, free: 178.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008542/4.83, allocations: 4.128 MB / 2.101 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/4.83, allocations: 8.844 kB / 2.101 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003729/4.83, allocations: 141.8 kB / 2.101 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006491/4.831, allocations: 178.1 kB / 2.101 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000566/4.831, allocations: 0.7502 MB / 2.102 GB, free: 173.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/4.833, allocations: 102.5 kB / 2.102 GB, free: 173.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.58e-05/4.833, allocations: 54.42 kB / 2.102 GB, free: 173.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/4.833, allocations: 12.23 kB / 2.102 GB, free: 173.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00185/4.835, allocations: 1.062 MB / 2.103 GB, free: 173.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/4.835, allocations: 13.12 kB / 2.103 GB, free: 173.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000273/4.835, allocations: 122.4 kB / 2.103 GB, free: 173.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006405/4.836, allocations: 162.7 kB / 2.104 GB, free: 173.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/4.838, allocations: 2.151 MB / 2.106 GB, free: 172 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/4.84, allocations: 105.7 kB / 2.106 GB, free: 172 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/4.84, allocations: 49.02 kB / 2.106 GB, free: 172 MB / 0.948 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.001539/4.841, allocations: 0.5786 MB / 2.106 GB, free: 171.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003993/4.842, allocations: 171.5 kB / 2.107 GB, free: 171.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00258/4.844, allocations: 1.007 MB / 2.108 GB, free: 171.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/4.844, allocations: 13.19 kB / 2.108 GB, free: 171.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/4.844, allocations: 0.8438 kB / 2.108 GB, free: 171.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001727/4.846, allocations: 0.9476 MB / 2.108 GB, free: 171.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004515/4.851, allocations: 2.17 MB / 2.111 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/4.851, allocations: 1.25 kB / 2.111 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004683/4.851, allocations: 96.92 kB / 2.111 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003098/4.851, allocations: 122.8 kB / 2.111 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.795e-05/4.852, allocations: 15.2 kB / 2.111 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005563/4.852, allocations: 0.7364 MB / 2.112 GB, free: 170.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/4.852, allocations: 1.938 kB / 2.112 GB, free: 170.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002748/4.855, allocations: 1.413 MB / 2.113 GB, free: 169.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008984/4.856, allocations: 312 kB / 2.113 GB, free: 169.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/4.856, allocations: 13.05 kB / 2.113 GB, free: 169.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008205/4.857, allocations: 78.42 kB / 2.113 GB, free: 169.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/4.857, allocations: 43.08 kB / 2.113 GB, free: 169.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.388e-05/4.857, allocations: 25.77 kB / 2.113 GB, free: 169.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002272/4.859, allocations: 1.228 MB / 2.115 GB, free: 169.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.8e-07/4.859, allocations: 0 / 2.115 GB, free: 169.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003685/4.863, allocations: 0.8682 MB / 2.115 GB, free: 169.6 MB / 0.948 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.004834/4.868, allocations: 2.732 MB / 2.118 GB, free: 168.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002897/4.871, allocations: 1.444 MB / 2.119 GB, free: 168.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/4.871, allocations: 0 / 2.119 GB, free: 168.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007433/4.872, allocations: 338.9 kB / 2.12 GB, free: 168.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003772/4.875, allocations: 0.7339 MB / 2.121 GB, free: 168.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/4.886, allocations: 11.83 MB / 2.132 GB, free: 158.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/4.887, allocations: 1.529 MB / 2.134 GB, free: 158.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002142/4.89, allocations: 445.1 kB / 2.134 GB, free: 158.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008747/4.89, allocations: 0.6455 MB / 2.135 GB, free: 158.2 MB / 0.948 GB Notification: Performance of SimCode: time 9.52e-07/4.89, allocations: 0 / 2.135 GB, free: 158.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09722/4.988, allocations: 50.43 MB / 2.184 GB, free: 156.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/4.988, allocations: 245 kB / 2.184 GB, free: 156.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.29/9.278, allocations: 0 / 2.184 GB, free: 156.4 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_Example3.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)