Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.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.Example1v2,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.691/1.691, allocations: 292.6 MB / 307.5 MB, free: 5.168 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.001105/0.001105, allocations: 177.1 kB / 377.1 MB, free: 1.508 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.777/1.777, allocations: 205.4 MB / 0.6366 GB, free: 9.531 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.0009205/0.0009203, allocations: 86.06 kB / 0.7509 GB, free: 62.78 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003907/0.0003906, allocations: 16 kB / 0.8748 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2879, allocations: 116.3 MB / 0.9884 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.793/2.081, allocations: 422.7 MB / 1.401 GB, free: 247.8 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/2.082, allocations: 103.8 kB / 1.401 GB, free: 247.8 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 9.258/11.34, allocations: 2.281 GB / 3.682 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.867e-06/11.34, allocations: 4.375 kB / 3.682 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.002601/11.34, allocations: 259.2 kB / 3.682 GB, free: 100.6 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.05083/11.39, allocations: 9.481 MB / 3.691 GB, free: 97.26 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 6.876e-05/11.39, allocations: 9.344 kB / 3.691 GB, free: 97.26 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005878/11.4, allocations: 0.7686 MB / 3.692 GB, free: 97.19 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01194/11.41, allocations: 1.235 MB / 3.693 GB, free: 96.68 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04978/11.46, allocations: 12.62 MB / 3.706 GB, free: 95.4 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00111/11.46, allocations: 437.2 kB / 3.706 GB, free: 95.39 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004516/11.47, allocations: 0.5814 MB / 3.707 GB, free: 95.38 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04044/11.51, allocations: 13.63 MB / 3.72 GB, free: 94.57 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005894/11.51, allocations: 35.41 kB / 3.72 GB, free: 94.56 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003891/11.51, allocations: 237.7 kB / 3.72 GB, free: 94.56 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001584/11.51, allocations: 136.4 kB / 3.72 GB, free: 94.56 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03289/11.55, allocations: 18.35 MB / 3.738 GB, free: 94.51 MB / 0.9792 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.1174/11.66, allocations: 55.47 MB / 3.793 GB, free: 75.76 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01515/11.68, allocations: 8.854 MB / 3.801 GB, free: 75.65 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0594/11.74, allocations: 26.35 MB / 3.827 GB, free: 65.48 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01352/11.75, allocations: 7.415 MB / 3.834 GB, free: 62.92 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05157/11.8, allocations: 21.17 MB / 3.855 GB, free: 60.15 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=301): time 5.023e-05/11.8, allocations: 0 / 3.855 GB, free: 60.15 MB / 0.9792 GB Notification: Performance of matching and sorting (n=301): time 0.05253/11.86, allocations: 22.55 MB / 3.877 GB, free: 51.69 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/11.86, allocations: 83 kB / 3.877 GB, free: 51.62 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01924/11.87, allocations: 7.469 MB / 3.884 GB, free: 46.08 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.002697/11.88, allocations: 101.7 kB / 3.884 GB, free: 45.98 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.005823/11.88, allocations: 4.011 MB / 3.888 GB, free: 42.32 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.003645/11.89, allocations: 1.081 MB / 3.889 GB, free: 41.34 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002339/11.89, allocations: 88 kB / 3.889 GB, free: 41.25 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0004801/11.89, allocations: 495.5 kB / 3.89 GB, free: 40.82 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009937/11.9, allocations: 6.18 MB / 3.896 GB, free: 35.71 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01124/11.91, allocations: 8.001 MB / 3.904 GB, free: 26.88 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01152/11.92, allocations: 7.09 MB / 3.911 GB, free: 19.82 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.46e-05/11.92, allocations: 16 kB / 3.911 GB, free: 19.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.0388/11.96, allocations: 16.57 MB / 3.927 GB, free: 3.543 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.7426/12.7, allocations: 25.25 MB / 3.951 GB, free: 115.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001744/12.7, allocations: 50.16 kB / 3.952 GB, free: 115.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07083/12.78, allocations: 10.89 MB / 3.962 GB, free: 115 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009949/12.79, allocations: 1.601 MB / 3.964 GB, free: 115 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01103/12.8, allocations: 6.357 MB / 3.97 GB, free: 112.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01509/12.81, allocations: 0.597 MB / 3.971 GB, free: 112.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003426/12.81, allocations: 0.5442 MB / 3.971 GB, free: 112.2 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/12.81, allocations: 3 kB / 3.971 GB, free: 112.2 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03061/12.85, allocations: 15.92 MB / 3.987 GB, free: 111.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001949/12.85, allocations: 46.69 kB / 3.987 GB, free: 111.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06622/12.91, allocations: 10.63 MB / 3.997 GB, free: 111.9 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009188/12.92, allocations: 1.591 MB / 3.999 GB, free: 111.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01319/12.93, allocations: 10.36 MB / 4.009 GB, free: 107.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01357/12.95, allocations: 0.5689 MB / 4.009 GB, free: 107.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003334/12.95, allocations: 0.5351 MB / 4.01 GB, free: 107.3 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 () * Number of clocked 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.0096/12.96, allocations: 2.64 MB / 4.012 GB, free: 107.1 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004206/12.97, allocations: 0.7512 MB / 4.013 GB, free: 107.1 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03729/13, allocations: 13.66 MB / 4.026 GB, free: 106.9 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.517e-05/13, allocations: 36.69 kB / 4.026 GB, free: 106.9 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/13, allocations: 7.359 kB / 4.026 GB, free: 106.9 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01705/13.02, allocations: 10.26 MB / 4.036 GB, free: 106.4 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0548/13.07, allocations: 23.94 MB / 4.06 GB, free: 103.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/13.07, allocations: 1.344 kB / 4.06 GB, free: 103.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005236/13.08, allocations: 0.6942 MB / 4.061 GB, free: 103.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06557/13.15, allocations: 9.945 MB / 4.07 GB, free: 102.5 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001416/13.15, allocations: 102.7 kB / 4.07 GB, free: 102.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004317/13.15, allocations: 4.317 MB / 4.075 GB, free: 99.66 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/13.15, allocations: 3.531 kB / 4.075 GB, free: 99.66 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02828/13.18, allocations: 18.53 MB / 4.093 GB, free: 99.07 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009033/13.19, allocations: 1.988 MB / 4.095 GB, free: 98.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004252/13.19, allocations: 80.31 kB / 4.095 GB, free: 98.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009659/13.2, allocations: 418.5 kB / 4.095 GB, free: 98.51 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0012/13.2, allocations: 219.7 kB / 4.095 GB, free: 98.51 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001102/13.21, allocations: 162 kB / 4.095 GB, free: 98.5 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.01434/13.22, allocations: 5.804 MB / 4.101 GB, free: 98.25 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8.42e-07/13.22, allocations: 0 / 4.101 GB, free: 98.25 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.03764/13.26, allocations: 4.924 MB / 4.106 GB, free: 98.05 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) * Number of clocked states: 0 () * 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.03692/13.29, allocations: 20.12 MB / 4.126 GB, free: 96.38 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.04017/13.33, allocations: 23.57 MB / 4.149 GB, free: 92.32 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/13.33, allocations: 3.5 kB / 4.149 GB, free: 92.32 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.00977/13.34, allocations: 6.193 MB / 4.155 GB, free: 89.28 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02602/13.37, allocations: 4.619 MB / 4.159 GB, free: 88.31 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08174/13.45, allocations: 75.6 MB / 4.233 GB, free: 23.25 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01279/13.46, allocations: 5.365 MB / 4.238 GB, free: 21.71 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.02724/13.49, allocations: 5.017 MB / 4.243 GB, free: 20.95 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01311/13.51, allocations: 3.804 MB / 4.247 GB, free: 18.23 MB / 0.9948 GB Notification: Performance of SimCode: time 1.109e-05/13.51, allocations: 4 kB / 4.247 GB, free: 18.22 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.218/14.72, allocations: 292.6 MB / 4.533 GB, free: 121.9 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/14.72, allocations: 247.7 kB / 4.533 GB, free: 121.6 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/27.35, allocations: 0 / 4.533 GB, free: 121.6 MB / 1.026 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_Example1v2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_Example1v2.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)