Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.552/1.552, allocations: 249.3 MB / 261.8 MB, free: 5.852 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009901/0.0009899, allocations: 180.6 kB / 321.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.1 MB / 0.572 GB, free: 10.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009917/0.0009918, allocations: 90.47 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.584e-05/4.586e-05, allocations: 4 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.211, allocations: 106.3 MB / 0.8919 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.586/1.797, allocations: 415.3 MB / 1.297 GB, free: 316 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/1.797, allocations: 92.28 kB / 1.298 GB, free: 316 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.415/10.21, allocations: 2.273 GB / 3.57 GB, free: 89.19 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.074e-06/10.21, allocations: 3.938 kB / 3.57 GB, free: 89.18 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001791/10.21, allocations: 252 kB / 3.57 GB, free: 89.13 MB / 0.9167 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.02856/10.24, allocations: 7.312 MB / 3.577 GB, free: 84.43 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/10.24, allocations: 8.688 kB / 3.577 GB, free: 84.43 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003913/10.25, allocations: 0.7617 MB / 3.578 GB, free: 83.88 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008665/10.25, allocations: 1.224 MB / 3.579 GB, free: 83.29 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03316/10.29, allocations: 12.54 MB / 3.592 GB, free: 70.97 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009729/10.29, allocations: 442.8 kB / 3.592 GB, free: 70.54 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005205/10.29, allocations: 0.5857 MB / 3.593 GB, free: 69.95 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0338/10.33, allocations: 13.46 MB / 3.606 GB, free: 56.23 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004154/10.33, allocations: 23.78 kB / 3.606 GB, free: 56.2 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003051/10.33, allocations: 240 kB / 3.606 GB, free: 55.97 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001105/10.33, allocations: 136 kB / 3.606 GB, free: 55.84 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0266/10.36, allocations: 18.07 MB / 3.624 GB, free: 37.75 MB / 0.9167 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.772/11.13, allocations: 55.36 MB / 3.678 GB, free: 92.09 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01409/11.14, allocations: 8.693 MB / 3.686 GB, free: 92 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01602/11.16, allocations: 9.259 MB / 3.695 GB, free: 91.75 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05462/11.22, allocations: 26.31 MB / 3.721 GB, free: 84.87 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01019/11.23, allocations: 7.309 MB / 3.728 GB, free: 84.76 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0507/11.28, allocations: 21.17 MB / 3.749 GB, free: 84.45 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=301): time 3.763e-05/11.28, allocations: 0 / 3.749 GB, free: 84.45 MB / 0.9167 GB Notification: Performance of matching and sorting (n=301): time 0.03405/11.31, allocations: 14.49 MB / 3.763 GB, free: 84.04 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/11.31, allocations: 83.12 kB / 3.763 GB, free: 83.97 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01789/11.33, allocations: 7.391 MB / 3.77 GB, free: 83.49 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.002528/11.33, allocations: 97.47 kB / 3.77 GB, free: 83.46 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.005512/11.34, allocations: 4.023 MB / 3.774 GB, free: 82.57 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003513/11.34, allocations: 1.087 MB / 3.775 GB, free: 82.04 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002526/11.34, allocations: 88.53 kB / 3.776 GB, free: 82.04 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0006405/11.34, allocations: 493.1 kB / 3.776 GB, free: 81.73 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0103/11.35, allocations: 6.076 MB / 3.782 GB, free: 81.71 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01111/11.37, allocations: 7.891 MB / 3.79 GB, free: 79.46 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0112/11.38, allocations: 6.995 MB / 3.796 GB, free: 79.29 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.073e-05/11.38, allocations: 13.91 kB / 3.796 GB, free: 79.29 MB / 0.9167 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.03534/11.41, allocations: 16.36 MB / 3.812 GB, free: 78.63 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.006036/11.42, allocations: 25.25 MB / 3.837 GB, free: 51.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001872/11.42, allocations: 47.56 kB / 3.837 GB, free: 51.98 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06636/11.48, allocations: 10.88 MB / 3.848 GB, free: 51.17 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009149/11.49, allocations: 1.602 MB / 3.849 GB, free: 51.17 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008994/11.5, allocations: 6.314 MB / 3.856 GB, free: 48.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01436/11.52, allocations: 0.6002 MB / 3.856 GB, free: 48.11 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004129/11.52, allocations: 0.5403 MB / 3.857 GB, free: 48.11 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/11.52, allocations: 3.281 kB / 3.857 GB, free: 48.11 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03452/11.56, allocations: 15.7 MB / 3.872 GB, free: 47.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001974/11.56, allocations: 57.05 kB / 3.872 GB, free: 47.74 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06505/11.62, allocations: 10.62 MB / 3.882 GB, free: 46.94 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009243/11.63, allocations: 1.594 MB / 3.884 GB, free: 46.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0145/11.64, allocations: 10.2 MB / 3.894 GB, free: 58.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01285/11.66, allocations: 0.573 MB / 3.894 GB, free: 58.12 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003187/11.66, allocations: 0.5307 MB / 3.895 GB, free: 58.12 MB / 0.9323 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.00489/11.67, allocations: 397 kB / 3.895 GB, free: 58.02 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00489/11.67, allocations: 0.7576 MB / 3.896 GB, free: 57.62 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03281/11.7, allocations: 13.47 MB / 3.909 GB, free: 56 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.546e-05/11.7, allocations: 37.56 kB / 3.909 GB, free: 56 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.091e-05/11.7, allocations: 4.438 kB / 3.909 GB, free: 56 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01635/11.72, allocations: 10.06 MB / 3.919 GB, free: 51.27 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04977/11.77, allocations: 23.72 MB / 3.942 GB, free: 39.89 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.252e-05/11.77, allocations: 0 / 3.942 GB, free: 39.89 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005362/11.78, allocations: 0.6981 MB / 3.943 GB, free: 39.86 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06355/11.84, allocations: 9.941 MB / 3.953 GB, free: 33.78 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001373/11.84, allocations: 100.6 kB / 3.953 GB, free: 33.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0051/11.85, allocations: 4.291 MB / 3.957 GB, free: 29.44 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/11.85, allocations: 4.031 kB / 3.957 GB, free: 29.43 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02854/11.87, allocations: 18.23 MB / 3.975 GB, free: 12.81 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007566/11.88, allocations: 1.993 MB / 3.977 GB, free: 11.14 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003695/11.89, allocations: 71.61 kB / 3.977 GB, free: 11.08 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009545/11.9, allocations: 422.1 kB / 3.977 GB, free: 10.79 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001942/11.9, allocations: 217.5 kB / 3.977 GB, free: 10.66 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001187/11.9, allocations: 164.7 kB / 3.978 GB, free: 10.53 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.01343/11.91, allocations: 5.726 MB / 3.983 GB, free: 5.641 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.21e-07/11.91, allocations: 0 / 3.983 GB, free: 5.641 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0314/11.94, allocations: 4.921 MB / 3.988 GB, free: 0.9805 MB / 0.9323 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.04903/11.99, allocations: 21.07 MB / 4.009 GB, free: 2.445 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.6567/12.65, allocations: 24.02 MB / 4.032 GB, free: 133.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/12.65, allocations: 2.781 kB / 4.032 GB, free: 133.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01023/12.66, allocations: 6.089 MB / 4.038 GB, free: 133.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02683/12.69, allocations: 4.608 MB / 4.042 GB, free: 133.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04672/12.73, allocations: 19.5 MB / 4.061 GB, free: 130.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004983/12.74, allocations: 5.38 MB / 4.067 GB, free: 129.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.03128/12.77, allocations: 7.761 MB / 4.074 GB, free: 129.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009302/12.78, allocations: 3.66 MB / 4.078 GB, free: 129.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.372e-06/12.78, allocations: 0 / 4.078 GB, free: 129.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.04/13.82, allocations: 299.8 MB / 4.371 GB, free: 132.5 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/13.82, allocations: 226 kB / 4.371 GB, free: 132.3 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/26.4, allocations: 1.031 kB / 4.371 GB, free: 132.3 MB / 0.9792 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v2.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)