Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.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.Example1v1,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v1,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v1",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.524/2.524, allocations: 287.3 MB / 302.3 MB, free: 8.184 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.001503/0.001502, allocations: 181.8 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.083/2.083, allocations: 205.4 MB / 0.6295 GB, free: 10.65 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.001129/0.001129, allocations: 89.86 kB / 0.7428 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000656/0.0006559, allocations: 15.91 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2232, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.347/1.571, allocations: 421.3 MB / 1.39 GB, free: 8.43 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003273/1.571, allocations: 98.39 kB / 1.39 GB, free: 8.379 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 7.342/8.913, allocations: 1.312 GB / 2.702 GB, free: 162.9 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.564e-06/8.913, allocations: 0 / 2.702 GB, free: 162.9 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0007676/8.914, allocations: 94.8 kB / 2.702 GB, free: 162.8 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.02355/8.938, allocations: 4.032 MB / 2.706 GB, free: 160.2 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/8.938, allocations: 15.61 kB / 2.706 GB, free: 160.2 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001354/8.939, allocations: 230.3 kB / 2.706 GB, free: 160 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004868/8.944, allocations: 0.5298 MB / 2.707 GB, free: 159.7 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02041/8.964, allocations: 4.368 MB / 2.711 GB, free: 156.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002524/8.965, allocations: 139.1 kB / 2.711 GB, free: 156.1 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007455/8.965, allocations: 192.6 kB / 2.711 GB, free: 155.9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006241/8.972, allocations: 2.233 MB / 2.713 GB, free: 153.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-05/8.972, allocations: 7.891 kB / 2.713 GB, free: 153.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003035/8.972, allocations: 72 kB / 2.713 GB, free: 153.4 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-05/8.972, allocations: 40 kB / 2.713 GB, free: 153.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006209/8.978, allocations: 1.775 MB / 2.715 GB, free: 151.6 MB / 0.9636 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.02289/9.001, allocations: 11.52 MB / 2.726 GB, free: 139.5 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00405/9.005, allocations: 1.264 MB / 2.728 GB, free: 138.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009528/9.015, allocations: 3.453 MB / 2.731 GB, free: 134.6 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002058/9.017, allocations: 0.7193 MB / 2.732 GB, free: 133.8 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003655/9.021, allocations: 0.6194 MB / 2.732 GB, free: 133.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=98): time 7.554e-06/9.021, allocations: 0 / 2.732 GB, free: 133.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=98): time 0.01659/9.038, allocations: 3.568 MB / 2.736 GB, free: 129.6 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/9.038, allocations: 68.3 kB / 2.736 GB, free: 129.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005983/9.044, allocations: 2.483 MB / 2.738 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.000395/9.044, allocations: 57.7 kB / 2.738 GB, free: 127 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001897/9.046, allocations: 1.416 MB / 2.74 GB, free: 125.6 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005869/9.047, allocations: 352.6 kB / 2.74 GB, free: 125.2 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/9.047, allocations: 32 kB / 2.74 GB, free: 125.2 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000128/9.047, allocations: 357.9 kB / 2.741 GB, free: 124.8 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00185/9.049, allocations: 0.5621 MB / 2.741 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002379/9.051, allocations: 1.33 MB / 2.742 GB, free: 122.6 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002403/9.054, allocations: 0.7819 MB / 2.743 GB, free: 121.8 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.519e-05/9.054, allocations: 4 kB / 2.743 GB, free: 121.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.007857/9.062, allocations: 2.442 MB / 2.746 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001349/9.063, allocations: 5.996 MB / 2.751 GB, free: 112.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.08e-05/9.063, allocations: 12 kB / 2.751 GB, free: 112.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002268/9.065, allocations: 0.5044 MB / 2.752 GB, free: 112.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002103/9.067, allocations: 265.5 kB / 2.752 GB, free: 112 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002761/9.07, allocations: 1.894 MB / 2.754 GB, free: 110.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003956/9.074, allocations: 187.5 kB / 2.754 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003904/9.075, allocations: 75.97 kB / 2.754 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/9.075, allocations: 4 kB / 2.754 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006034/9.081, allocations: 2.208 MB / 2.756 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.786e-05/9.081, allocations: 12 kB / 2.756 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001579/9.082, allocations: 473.4 kB / 2.757 GB, free: 107.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001972/9.084, allocations: 257.4 kB / 2.757 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/9.095, allocations: 5.961 MB / 2.763 GB, free: 100.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003569/9.098, allocations: 176.2 kB / 2.763 GB, free: 100.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004015/9.099, allocations: 67.98 kB / 2.763 GB, free: 100.4 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.002502/9.101, allocations: 0.8297 MB / 2.764 GB, free: 99.55 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009301/9.102, allocations: 296.2 kB / 2.764 GB, free: 99.26 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007083/9.109, allocations: 2.187 MB / 2.766 GB, free: 97.08 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.832e-05/9.109, allocations: 15.98 kB / 2.766 GB, free: 97.06 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/9.109, allocations: 4 kB / 2.766 GB, free: 97.06 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004907/9.114, allocations: 1.881 MB / 2.768 GB, free: 95.13 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01136/9.126, allocations: 4.136 MB / 2.772 GB, free: 90.96 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/9.126, allocations: 4 kB / 2.772 GB, free: 90.96 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/9.127, allocations: 136.2 kB / 2.772 GB, free: 90.83 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001777/9.129, allocations: 475.4 kB / 2.773 GB, free: 90.37 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/9.129, allocations: 23.98 kB / 2.773 GB, free: 90.35 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002194/9.131, allocations: 1.85 MB / 2.775 GB, free: 88.45 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/9.131, allocations: 8.078 kB / 2.775 GB, free: 88.44 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008402/9.14, allocations: 2.913 MB / 2.778 GB, free: 85.51 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002019/9.142, allocations: 0.4931 MB / 2.778 GB, free: 85 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007371/9.142, allocations: 16 kB / 2.778 GB, free: 84.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002581/9.145, allocations: 151.5 kB / 2.778 GB, free: 84.83 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/9.145, allocations: 72.84 kB / 2.778 GB, free: 84.76 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/9.145, allocations: 39.97 kB / 2.778 GB, free: 84.72 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.004034/9.15, allocations: 1.939 MB / 2.78 GB, free: 82.79 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.21e-07/9.15, allocations: 0 / 2.78 GB, free: 82.79 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.006893/9.156, allocations: 1.439 MB / 2.782 GB, free: 81.35 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (60): * Single equations (assignments): 52 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.01042/9.167, allocations: 4.341 MB / 2.786 GB, free: 77.11 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.009177/9.176, allocations: 2.897 MB / 2.789 GB, free: 74.16 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/9.176, allocations: 4 kB / 2.789 GB, free: 74.16 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002451/9.179, allocations: 0.6941 MB / 2.789 GB, free: 73.46 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00947/9.188, allocations: 1.194 MB / 2.79 GB, free: 72.31 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01981/9.208, allocations: 17.88 MB / 2.808 GB, free: 53.51 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00191/9.21, allocations: 2.091 MB / 2.81 GB, free: 51.38 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004971/9.215, allocations: 0.7325 MB / 2.811 GB, free: 50.68 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002634/9.218, allocations: 1.148 MB / 2.812 GB, free: 49.54 MB / 0.9636 GB Notification: Performance of SimCode: time 1.122e-06/9.218, allocations: 0 / 2.812 GB, free: 49.54 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9841/10.2, allocations: 83.18 MB / 2.893 GB, free: 174.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002341/10.2, allocations: 245.2 kB / 2.893 GB, free: 174.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.036/16.24, allocations: 0 / 2.893 GB, free: 174.6 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v1.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)