Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.572/1.572, allocations: 285.4 MB / 298 MB, free: 6.012 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.0009703/0.0009704, allocations: 180.8 kB / 366.4 MB, free: 2.082 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.505/1.505, allocations: 205.1 MB / 0.6248 GB, free: 7.715 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.0008726/0.0008728, allocations: 98.08 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.598e-05/3.6e-05, allocations: 4 kB / 0.8584 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7123/0.7123, allocations: 115.3 MB / 0.971 GB, free: 77.87 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.079/1.792, allocations: 421.6 MB / 1.383 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/1.792, allocations: 89.52 kB / 1.383 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.472/10.26, allocations: 2.273 GB / 3.655 GB, free: 105.4 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.984e-06/10.26, allocations: 0 / 3.655 GB, free: 105.4 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.00176/10.27, allocations: 254.3 kB / 3.656 GB, free: 105.4 MB / 0.9792 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.03276/10.3, allocations: 7.318 MB / 3.663 GB, free: 102.5 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/10.3, allocations: 11.78 kB / 3.663 GB, free: 102.5 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004547/10.3, allocations: 0.7575 MB / 3.664 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01017/10.31, allocations: 1.232 MB / 3.665 GB, free: 101.9 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0353/10.35, allocations: 12.54 MB / 3.677 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005685/10.35, allocations: 439.7 kB / 3.677 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003187/10.35, allocations: 0.5809 MB / 3.678 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03344/10.39, allocations: 13.46 MB / 3.691 GB, free: 99.71 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003471/10.39, allocations: 33.2 kB / 3.691 GB, free: 99.7 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003022/10.39, allocations: 237.5 kB / 3.691 GB, free: 99.7 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001342/10.39, allocations: 147.3 kB / 3.692 GB, free: 99.69 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03002/10.42, allocations: 18.07 MB / 3.709 GB, free: 95.41 MB / 0.9792 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.1105/10.53, allocations: 55.36 MB / 3.763 GB, free: 58.64 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01238/10.54, allocations: 8.699 MB / 3.772 GB, free: 49.92 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01203/10.55, allocations: 9.261 MB / 3.781 GB, free: 40.66 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05355/10.61, allocations: 26.3 MB / 3.806 GB, free: 14.08 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01187/10.62, allocations: 7.305 MB / 3.814 GB, free: 6.73 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.7708/11.39, allocations: 21.17 MB / 3.834 GB, free: 114.4 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=301): time 3.97e-05/11.39, allocations: 2.719 kB / 3.834 GB, free: 114.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=301): time 0.03206/11.42, allocations: 14.49 MB / 3.848 GB, free: 114.2 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/11.42, allocations: 83.62 kB / 3.849 GB, free: 114.2 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0134/11.44, allocations: 7.394 MB / 3.856 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.002543/11.44, allocations: 97.92 kB / 3.856 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.004082/11.44, allocations: 4.006 MB / 3.86 GB, free: 113 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.00337/11.45, allocations: 1.084 MB / 3.861 GB, free: 112.5 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00113/11.45, allocations: 92.62 kB / 3.861 GB, free: 112.5 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0003091/11.45, allocations: 496.8 kB / 3.861 GB, free: 112.2 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009866/11.46, allocations: 6.077 MB / 3.867 GB, free: 112.2 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01288/11.47, allocations: 7.887 MB / 3.875 GB, free: 110 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01417/11.49, allocations: 6.996 MB / 3.882 GB, free: 109.9 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001078/11.49, allocations: 13.97 kB / 3.882 GB, free: 109.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.04319/11.53, allocations: 16.36 MB / 3.898 GB, free: 109.3 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.005564/11.53, allocations: 25.25 MB / 3.923 GB, free: 82.78 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002202/11.53, allocations: 46.84 kB / 3.923 GB, free: 82.78 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06544/11.6, allocations: 10.89 MB / 3.933 GB, free: 82.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0102/11.61, allocations: 1.599 MB / 3.935 GB, free: 82.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008691/11.62, allocations: 6.313 MB / 3.941 GB, free: 79.13 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01552/11.63, allocations: 0.6015 MB / 3.941 GB, free: 79.05 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003448/11.64, allocations: 0.5461 MB / 3.942 GB, free: 79.05 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/11.64, allocations: 3.75 kB / 3.942 GB, free: 79.05 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03448/11.67, allocations: 15.7 MB / 3.957 GB, free: 78.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003489/11.67, allocations: 46.22 kB / 3.957 GB, free: 78.68 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06215/11.74, allocations: 10.62 MB / 3.968 GB, free: 77.88 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00901/11.74, allocations: 1.596 MB / 3.969 GB, free: 77.88 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01592/11.76, allocations: 10.19 MB / 3.979 GB, free: 89.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01283/11.77, allocations: 0.5709 MB / 3.98 GB, free: 89.09 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003188/11.78, allocations: 0.5336 MB / 3.98 GB, free: 89.09 MB / 0.9948 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.004775/11.78, allocations: 403.5 kB / 3.981 GB, free: 88.98 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00471/11.79, allocations: 0.7485 MB / 3.981 GB, free: 88.58 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03097/11.82, allocations: 13.48 MB / 3.995 GB, free: 88.07 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.053e-05/11.82, allocations: 39 kB / 3.995 GB, free: 88.07 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.941e-05/11.82, allocations: 0 / 3.995 GB, free: 88.07 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01675/11.83, allocations: 10.06 MB / 4.005 GB, free: 87.57 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04981/11.88, allocations: 23.73 MB / 4.028 GB, free: 84.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/11.88, allocations: 0 / 4.028 GB, free: 84.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005473/11.89, allocations: 0.7098 MB / 4.028 GB, free: 84.38 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06112/11.95, allocations: 9.925 MB / 4.038 GB, free: 83.63 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001346/11.95, allocations: 102.4 kB / 4.038 GB, free: 83.63 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005123/11.96, allocations: 4.312 MB / 4.042 GB, free: 80.78 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/11.96, allocations: 3.938 kB / 4.042 GB, free: 80.78 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02994/11.99, allocations: 18.22 MB / 4.06 GB, free: 73.61 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008546/12, allocations: 1.992 MB / 4.062 GB, free: 72.72 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004089/12, allocations: 75.89 kB / 4.062 GB, free: 72.67 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009769/12.01, allocations: 424.5 kB / 4.063 GB, free: 72.56 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001537/12.01, allocations: 216.7 kB / 4.063 GB, free: 72.54 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001415/12.01, allocations: 159.9 kB / 4.063 GB, free: 72.51 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.01355/12.03, allocations: 5.729 MB / 4.069 GB, free: 70.66 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6.11e-07/12.03, allocations: 0 / 4.069 GB, free: 70.66 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.02811/12.05, allocations: 4.928 MB / 4.073 GB, free: 70.2 MB / 0.9948 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.03392/12.09, allocations: 19.8 MB / 4.093 GB, free: 60.61 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.04058/12.13, allocations: 23.52 MB / 4.116 GB, free: 44.89 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-05/12.13, allocations: 9.75 kB / 4.116 GB, free: 44.88 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.009898/12.14, allocations: 6.083 MB / 4.122 GB, free: 39.23 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02615/12.16, allocations: 4.611 MB / 4.126 GB, free: 35.95 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05335/12.22, allocations: 19.51 MB / 4.145 GB, free: 19.34 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006457/12.22, allocations: 5.372 MB / 4.15 GB, free: 15.44 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.03296/12.26, allocations: 7.886 MB / 4.158 GB, free: 9.867 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01069/12.27, allocations: 3.66 MB / 4.162 GB, free: 6.656 MB / 0.9948 GB Notification: Performance of SimCode: time 1.473e-06/12.27, allocations: 0 / 4.162 GB, free: 6.656 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.113/13.38, allocations: 299.8 MB / 4.454 GB, free: 72.78 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/13.38, allocations: 231 kB / 4.455 GB, free: 72.49 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/25.65, allocations: 0 / 4.455 GB, free: 72.49 MB / 1.01 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example1v2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example1v2.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)