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.389/1.389, allocations: 249.5 MB / 257 MB, free: 6.816 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.001099/0.001099, allocations: 172.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.501/1.501, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008235/0.0008233, allocations: 88.27 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.774e-05/1.776e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1815, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.443/1.625, allocations: 398.2 MB / 1.274 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/1.625, allocations: 98.08 kB / 1.274 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.391/4.016, allocations: 0.6826 GB / 1.957 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.663e-06/4.016, allocations: 3.281 kB / 1.957 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002134/4.017, allocations: 51.2 kB / 1.957 GB, free: 185.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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.0039/4.021, allocations: 1.844 MB / 1.959 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/4.021, allocations: 13.2 kB / 1.959 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/4.022, allocations: 285.5 kB / 1.959 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005285/4.027, allocations: 2.521 MB / 1.961 GB, free: 184 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.978e-05/4.027, allocations: 32.88 kB / 1.961 GB, free: 184 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/4.027, allocations: 67.47 kB / 1.962 GB, free: 184 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001419/4.029, allocations: 0.839 MB / 1.962 GB, free: 184 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/4.03, allocations: 1.07 MB / 1.963 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.896e-05/4.03, allocations: 5.312 kB / 1.963 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.524e-05/4.031, allocations: 2.406 kB / 1.963 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.251e-05/4.031, allocations: 28.7 kB / 1.963 GB, free: 183.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.006305/4.037, allocations: 6.416 MB / 1.97 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007379/4.038, allocations: 0.584 MB / 1.97 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004754/4.038, allocations: 361.8 kB / 1.971 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00224/4.04, allocations: 1.589 MB / 1.972 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004588/4.041, allocations: 316.7 kB / 1.972 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005263/4.041, allocations: 114.4 kB / 1.973 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 3.226e-06/4.041, allocations: 0 / 1.973 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47): time 0.001676/4.043, allocations: 0.8133 MB / 1.973 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/4.043, allocations: 55.78 kB / 1.973 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/4.045, allocations: 1.358 MB / 1.975 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.198e-05/4.045, allocations: 29.64 kB / 1.975 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000541/4.045, allocations: 0.8478 MB / 1.976 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/4.045, allocations: 168.5 kB / 1.976 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/4.045, allocations: 0 / 1.976 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.07e-05/4.045, allocations: 334.2 kB / 1.976 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/4.046, allocations: 249.2 kB / 1.976 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004711/4.046, allocations: 0.6833 MB / 1.977 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008319/4.047, allocations: 409.2 kB / 1.977 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/4.047, allocations: 3.906 kB / 1.977 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001853/4.049, allocations: 1.11 MB / 1.978 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008357/4.05, allocations: 4.107 MB / 1.982 GB, free: 173 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/4.05, allocations: 10.19 kB / 1.983 GB, free: 173 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002841/4.05, allocations: 125.2 kB / 1.983 GB, free: 173 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005997/4.051, allocations: 169.9 kB / 1.983 GB, free: 173 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005501/4.051, allocations: 0.7858 MB / 1.984 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009699/4.052, allocations: 88.55 kB / 1.984 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.679e-05/4.052, allocations: 45.61 kB / 1.984 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/4.052, allocations: 6.281 kB / 1.984 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001538/4.054, allocations: 0.9179 MB / 1.985 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/4.054, allocations: 10.81 kB / 1.985 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001726/4.054, allocations: 114.6 kB / 1.985 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005174/4.055, allocations: 168 kB / 1.985 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/4.056, allocations: 2.032 MB / 1.987 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007888/4.057, allocations: 83.12 kB / 1.987 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.466e-05/4.057, allocations: 44.55 kB / 1.987 GB, free: 171.1 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.0001764/4.057, allocations: 141 kB / 1.987 GB, free: 171 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001251/4.059, allocations: 0.7497 MB / 1.988 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/4.059, allocations: 169.9 kB / 1.988 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001622/4.06, allocations: 0.894 MB / 1.989 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/4.06, allocations: 6.688 kB / 1.989 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/4.06, allocations: 3.953 kB / 1.989 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001003/4.061, allocations: 0.8686 MB / 1.99 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002769/4.064, allocations: 1.971 MB / 1.992 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/4.064, allocations: 2.719 kB / 1.992 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004114/4.065, allocations: 91.33 kB / 1.992 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001754/4.065, allocations: 92.95 kB / 1.992 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.666e-05/4.065, allocations: 17.5 kB / 1.992 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004022/4.065, allocations: 0.7298 MB / 1.993 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/4.065, allocations: 0 / 1.993 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/4.067, allocations: 1.291 MB / 1.994 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004044/4.067, allocations: 304.1 kB / 1.994 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/4.067, allocations: 3.812 kB / 1.994 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006994/4.068, allocations: 71.28 kB / 1.994 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.773e-05/4.068, allocations: 44.97 kB / 1.994 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-05/4.068, allocations: 29.98 kB / 1.994 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001181/4.07, allocations: 1.037 MB / 1.995 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/4.07, allocations: 0 / 1.995 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002791/4.072, allocations: 0.8607 MB / 1.996 GB, free: 168.6 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.003333/4.076, allocations: 2.547 MB / 1.999 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00197/4.078, allocations: 1.343 MB / 2 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/4.078, allocations: 0 / 2 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004021/4.078, allocations: 305.1 kB / 2 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002548/4.081, allocations: 0.6276 MB / 2.001 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004853/4.085, allocations: 2.671 MB / 2.003 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/4.087, allocations: 1.533 MB / 2.005 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002641/4.089, allocations: 0.7991 MB / 2.006 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007344/4.09, allocations: 0.6272 MB / 2.006 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of SimCode: time 4.81e-07/4.09, allocations: 0 / 2.006 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07974/4.17, allocations: 45.28 MB / 2.051 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/4.17, allocations: 169.1 kB / 2.051 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.53/7.7, allocations: 0 / 2.051 GB, free: 163.9 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)