Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.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.Example1v2,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v2",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.43/2.43, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001523/0.001523, allocations: 184.8 kB / 360.6 MB, free: 7.27 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.067/2.067, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001162/0.001162, allocations: 89.75 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.507e-05/3.507e-05, allocations: 4 kB / 0.8508 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8058/0.8059, allocations: 115.3 MB / 0.9634 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.439/2.245, allocations: 420.8 MB / 1.374 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003261/2.246, allocations: 89.89 kB / 1.374 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 12.41/14.66, allocations: 2.261 GB / 3.635 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.146e-06/14.66, allocations: 0 / 3.635 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001913/14.66, allocations: 255 kB / 3.635 GB, free: 105.4 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.04036/14.7, allocations: 7.313 MB / 3.642 GB, free: 102.3 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/14.7, allocations: 10.03 kB / 3.642 GB, free: 102.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/14.71, allocations: 1.229 MB / 3.644 GB, free: 101.8 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04915/14.76, allocations: 12.53 MB / 3.656 GB, free: 98.18 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004453/14.76, allocations: 177.3 kB / 3.656 GB, free: 98.18 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003528/14.77, allocations: 359 kB / 3.656 GB, free: 98.17 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03931/14.81, allocations: 17.77 MB / 3.674 GB, free: 92.34 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03742/14.84, allocations: 12.54 MB / 3.686 GB, free: 86 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004112/14.84, allocations: 30.3 kB / 3.686 GB, free: 85.98 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003311/14.85, allocations: 12.88 kB / 3.686 GB, free: 85.97 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001557/14.85, allocations: 140.8 kB / 3.686 GB, free: 85.97 MB / 0.9636 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.1419/14.99, allocations: 54.55 MB / 3.739 GB, free: 33.93 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01675/15.01, allocations: 8.64 MB / 3.748 GB, free: 25.28 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01732/15.02, allocations: 9.192 MB / 3.757 GB, free: 16.09 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08303/15.11, allocations: 26.29 MB / 3.782 GB, free: 5.488 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.7673/15.87, allocations: 7.213 MB / 3.789 GB, free: 130 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.09952/15.97, allocations: 21.05 MB / 3.81 GB, free: 129.8 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=301): time 4.113e-05/15.97, allocations: 0 / 3.81 GB, free: 129.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=301): time 0.05509/16.03, allocations: 15.03 MB / 3.825 GB, free: 129.5 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.379e-05/16.03, allocations: 84.25 kB / 3.825 GB, free: 129.4 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0196/16.05, allocations: 6.404 MB / 3.831 GB, free: 129.1 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.002707/16.05, allocations: 32.58 kB / 3.831 GB, free: 129.1 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.006448/16.06, allocations: 3.988 MB / 3.835 GB, free: 128.3 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.003901/16.06, allocations: 1.051 MB / 3.836 GB, free: 127.7 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002517/16.06, allocations: 0 / 3.836 GB, free: 127.7 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0005243/16.06, allocations: 490.6 kB / 3.836 GB, free: 127.4 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01429/16.08, allocations: 6.022 MB / 3.842 GB, free: 127.4 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01662/16.1, allocations: 7.799 MB / 3.85 GB, free: 125.2 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02661/16.12, allocations: 7.543 MB / 3.857 GB, free: 125 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001228/16.12, allocations: 16.67 kB / 3.857 GB, free: 125 MB / 0.9792 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.06056/16.18, allocations: 16.58 MB / 3.874 GB, free: 124.4 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.00528/16.19, allocations: 24.55 MB / 3.897 GB, free: 98.59 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002707/16.19, allocations: 44.53 kB / 3.898 GB, free: 98.59 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007815/16.2, allocations: 1.555 MB / 3.899 GB, free: 98.49 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01695/16.21, allocations: 1.602 MB / 3.901 GB, free: 98.48 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02344/16.24, allocations: 6.944 MB / 3.907 GB, free: 95.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01957/16.26, allocations: 0.5025 MB / 3.908 GB, free: 95.43 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003879/16.26, allocations: 0.5451 MB / 3.908 GB, free: 95.43 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/16.26, allocations: 3.688 kB / 3.908 GB, free: 95.43 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05477/16.32, allocations: 15.74 MB / 3.924 GB, free: 95.06 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002622/16.32, allocations: 50.97 kB / 3.924 GB, free: 95.06 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007342/16.32, allocations: 1.418 MB / 3.925 GB, free: 94.95 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.017/16.34, allocations: 1.601 MB / 3.927 GB, free: 94.95 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02927/16.37, allocations: 10.51 MB / 3.937 GB, free: 90.33 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01875/16.39, allocations: 494 kB / 3.938 GB, free: 90.25 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004056/16.39, allocations: 0.5351 MB / 3.938 GB, free: 90.25 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * 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,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 520 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.006345/16.4, allocations: 253.4 kB / 3.938 GB, free: 90.15 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0541/16.45, allocations: 14.88 MB / 3.953 GB, free: 89.52 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005133/16.46, allocations: 0.6943 MB / 3.954 GB, free: 89.15 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05578/16.51, allocations: 13.77 MB / 3.967 GB, free: 88.62 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.017e-05/16.51, allocations: 33.25 kB / 3.967 GB, free: 88.62 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/16.51, allocations: 0 / 3.967 GB, free: 88.62 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03037/16.54, allocations: 10.47 MB / 3.977 GB, free: 88.08 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06538/16.61, allocations: 23.49 MB / 4 GB, free: 81.75 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.904e-05/16.61, allocations: 0 / 4 GB, free: 81.75 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01045/16.62, allocations: 0.7069 MB / 4.001 GB, free: 81.71 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003018/16.62, allocations: 0.6953 MB / 4.002 GB, free: 81.55 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001318/16.63, allocations: 74.77 kB / 4.002 GB, free: 81.53 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01359/16.64, allocations: 4.996 MB / 4.006 GB, free: 78.07 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/16.64, allocations: 9.391 kB / 4.006 GB, free: 78.06 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0473/16.69, allocations: 18.46 MB / 4.024 GB, free: 69.34 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01331/16.7, allocations: 1.924 MB / 4.026 GB, free: 68.48 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005359/16.7, allocations: 20.98 kB / 4.026 GB, free: 68.48 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01357/16.72, allocations: 362.5 kB / 4.027 GB, free: 68.42 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001853/16.72, allocations: 222.5 kB / 4.027 GB, free: 68.39 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00134/16.72, allocations: 164.9 kB / 4.027 GB, free: 68.36 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.01287/16.73, allocations: 4.85 MB / 4.032 GB, free: 66.74 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8.02e-07/16.73, allocations: 0 / 4.032 GB, free: 66.74 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.03355/16.77, allocations: 5.014 MB / 4.037 GB, free: 66.42 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].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 (305): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.05099/16.82, allocations: 19.96 MB / 4.056 GB, free: 56.92 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.05704/16.88, allocations: 23.05 MB / 4.079 GB, free: 43.59 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.636e-05/16.88, allocations: 4 kB / 4.079 GB, free: 43.59 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.01361/16.89, allocations: 6.007 MB / 4.085 GB, free: 38.03 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03355/16.92, allocations: 4.009 MB / 4.089 GB, free: 35.2 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05544/16.98, allocations: 18.98 MB / 4.107 GB, free: 19.06 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008984/16.99, allocations: 5.38 MB / 4.112 GB, free: 15.15 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.04417/17.03, allocations: 7.256 MB / 4.119 GB, free: 9.941 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01394/17.05, allocations: 3.657 MB / 4.123 GB, free: 6.734 MB / 0.9792 GB Notification: Performance of SimCode: time 1.273e-06/17.05, allocations: 0 / 4.123 GB, free: 6.734 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.369/18.41, allocations: 266.4 MB / 4.383 GB, free: 94.49 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002489/18.42, allocations: 171.3 kB / 4.383 GB, free: 94.29 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/32.12, allocations: 3.812 kB / 4.383 GB, free: 94.29 MB / 0.9948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v2.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)