Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.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.Example1v1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v1,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.627/1.627, allocations: 288.4 MB / 303.3 MB, free: 8.215 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.001046/0.001046, allocations: 168.5 kB / 372 MB, free: 10.25 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.411/1.411, allocations: 205.4 MB / 0.6307 GB, free: 9.938 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.0007784/0.0007784, allocations: 82.34 kB / 0.744 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003764, allocations: 10.34 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1983, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.05718/0.2555, allocations: 66.85 MB / 1.045 GB, free: 8.523 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02746/0.2831, allocations: 18.87 MB / 1.063 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003125/0.2862, allocations: 83.38 kB / 1.063 GB, free: 5.531 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002499/0.2887, allocations: 0.6677 MB / 1.064 GB, free: 4.859 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.005805/0.2946, allocations: 1.927 MB / 1.066 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00463/0.2992, allocations: 1.565 MB / 1.067 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.4545/0.7537, allocations: 9.021 MB / 1.076 GB, free: 19.81 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0105/0.7643, allocations: 5.314 MB / 1.081 GB, free: 19.21 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00978/0.7741, allocations: 2.686 MB / 1.084 GB, free: 19.2 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007457/0.7816, allocations: 2.308 MB / 1.086 GB, free: 19.19 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001479/0.7831, allocations: 129.2 kB / 1.086 GB, free: 19.19 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006112/0.7893, allocations: 1.017 MB / 1.087 GB, free: 19.17 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001929/0.7912, allocations: 0.6067 MB / 1.088 GB, free: 19.17 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002591/0.7938, allocations: 0.6427 MB / 1.089 GB, free: 19.14 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00668/0.8006, allocations: 3.484 MB / 1.092 GB, free: 18.84 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.8006, allocations: 0 / 1.092 GB, free: 18.84 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8006, allocations: 0 / 1.092 GB, free: 18.84 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002202/0.8008, allocations: 5.406 kB / 1.092 GB, free: 18.84 MB / 0.6823 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.01058/0.8114, allocations: 3.862 MB / 1.096 GB, free: 17.05 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.8115, allocations: 9.188 kB / 1.096 GB, free: 17.05 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009777/0.8125, allocations: 229 kB / 1.096 GB, free: 17.01 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003497/0.816, allocations: 0.567 MB / 1.097 GB, free: 16.81 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008002/0.824, allocations: 2.464 MB / 1.099 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003003/0.8243, allocations: 146.6 kB / 1.099 GB, free: 16.24 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001126/0.8255, allocations: 183.8 kB / 1.099 GB, free: 16.24 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006315/0.8318, allocations: 2.406 MB / 1.102 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.521e-05/0.8319, allocations: 9.188 kB / 1.102 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002052/0.8321, allocations: 67.84 kB / 1.102 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.117e-05/0.8321, allocations: 42.78 kB / 1.102 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003934/0.8361, allocations: 2.018 MB / 1.104 GB, free: 15.8 MB / 0.6823 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.0164/0.8525, allocations: 12.14 MB / 1.116 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003143/0.8557, allocations: 1.557 MB / 1.117 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001967/0.8577, allocations: 1.096 MB / 1.118 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00846/0.8662, allocations: 4.082 MB / 1.122 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001708/0.8679, allocations: 0.8852 MB / 1.123 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002887/0.8708, allocations: 450.4 kB / 1.124 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=96): time 6.262e-06/0.8709, allocations: 0 / 1.124 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=96): time 0.01814/0.889, allocations: 5.2 MB / 1.129 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.8892, allocations: 65.97 kB / 1.129 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006505/0.8957, allocations: 3.001 MB / 1.132 GB, free: 3.008 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000626/0.8963, allocations: 54.45 kB / 1.132 GB, free: 2.977 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001531/0.8979, allocations: 1.422 MB / 1.133 GB, free: 2.457 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005838/0.8985, allocations: 336.2 kB / 1.133 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.47e-05/0.8986, allocations: 27.72 kB / 1.133 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.8987, allocations: 368.2 kB / 1.134 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001559/0.9003, allocations: 0.6874 MB / 1.134 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/0.9022, allocations: 1.494 MB / 1.136 GB, free: 0.6719 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.9037, allocations: 0.9006 MB / 1.137 GB, free: 488 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.9037, allocations: 3.469 kB / 1.137 GB, free: 488 kB / 0.6823 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.007696/0.9114, allocations: 2.961 MB / 1.14 GB, free: 15.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004936/0.912, allocations: 0.5367 MB / 1.14 GB, free: 14.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/0.912, allocations: 13.62 kB / 1.14 GB, free: 14.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002975/0.915, allocations: 0.7844 MB / 1.141 GB, free: 14.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/0.9164, allocations: 303.7 kB / 1.141 GB, free: 14.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00239/0.9188, allocations: 2.177 MB / 1.143 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003613/0.9224, allocations: 248.4 kB / 1.144 GB, free: 13.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002497/0.9227, allocations: 82.45 kB / 1.144 GB, free: 13.19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.9227, allocations: 6.234 kB / 1.144 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004264/0.927, allocations: 2.302 MB / 1.146 GB, free: 12.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/0.927, allocations: 15.88 kB / 1.146 GB, free: 12.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/0.9285, allocations: 0.5771 MB / 1.147 GB, free: 12.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.9297, allocations: 286 kB / 1.147 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00778/0.9375, allocations: 6.509 MB / 1.153 GB, free: 8.672 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003314/0.9408, allocations: 232.9 kB / 1.153 GB, free: 8.586 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002601/0.9411, allocations: 79.27 kB / 1.153 GB, free: 8.574 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,nRes.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.002138/0.9432, allocations: 0.8251 MB / 1.154 GB, free: 8.133 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001075/0.9443, allocations: 296.3 kB / 1.155 GB, free: 7.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005492/0.9498, allocations: 2.489 MB / 1.157 GB, free: 6.016 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.049e-05/0.9499, allocations: 12 kB / 1.157 GB, free: 6.004 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.9499, allocations: 0 / 1.157 GB, free: 6.004 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003707/0.9536, allocations: 2.188 MB / 1.159 GB, free: 4.281 MB / 0.698 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 postOpt removeSimpleEquations (simulation): time 0.01036/0.964, allocations: 4.708 MB / 1.164 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.964, allocations: 0 / 1.164 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008024/0.9648, allocations: 157.3 kB / 1.164 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001184/0.966, allocations: 0.543 MB / 1.164 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-05/0.9661, allocations: 23.98 kB / 1.164 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/0.9682, allocations: 2.099 MB / 1.166 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.9682, allocations: 0 / 1.166 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006281/0.9745, allocations: 3.342 MB / 1.17 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001814/0.9763, allocations: 0.5557 MB / 1.17 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004585/0.9768, allocations: 20 kB / 1.17 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001876/0.9787, allocations: 203.5 kB / 1.17 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.9788, allocations: 68.89 kB / 1.171 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.649e-05/0.9789, allocations: 35.98 kB / 1.171 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003362/0.9823, allocations: 2.052 MB / 1.173 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.71e-07/0.9823, allocations: 0 / 1.173 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005706/0.988, allocations: 1.478 MB / 1.174 GB, free: 5.09 MB / 0.7136 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 (58): * Single equations (assignments): 50 * 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.007029/0.9951, allocations: 4.01 MB / 1.178 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007092/1.002, allocations: 3.255 MB / 1.181 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/1.002, allocations: 4 kB / 1.181 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001761/1.004, allocations: 0.8197 MB / 1.182 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01041/1.014, allocations: 1.548 MB / 1.183 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05685/1.071, allocations: 21.26 MB / 1.204 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00158/1.073, allocations: 2.033 MB / 1.206 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003381/1.076, allocations: 0.6678 MB / 1.207 GB, free: 1.957 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001966/1.078, allocations: 1.175 MB / 1.208 GB, free: 0.7812 MB / 0.7448 GB Notification: Performance of SimCode: time 9.02e-07/1.078, allocations: 0 / 1.208 GB, free: 0.7812 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1458/1.224, allocations: 84.72 MB / 1.291 GB, free: 12.87 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000273/1.225, allocations: 271.5 kB / 1.291 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.334/5.558, allocations: 0 / 1.291 GB, free: 12.5 MB / 0.8386 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example1v1.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)