Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.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.Example1v1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v1,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.341/1.341, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 185.3 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.724/1.724, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0009487/0.0009487, allocations: 89.92 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003387, allocations: 10.78 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.218, allocations: 106.3 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9427/1.161, allocations: 415.1 MB / 1.306 GB, free: 15.71 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/1.161, allocations: 97.08 kB / 1.306 GB, free: 15.66 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.788/5.949, allocations: 1.312 GB / 2.618 GB, free: 145.3 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.025e-06/5.949, allocations: 3.984 kB / 2.618 GB, free: 145.3 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0007065/5.95, allocations: 89.61 kB / 2.618 GB, free: 145.2 MB / 0.9011 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.01617/5.966, allocations: 4.036 MB / 2.622 GB, free: 141.1 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/5.966, allocations: 12.03 kB / 2.622 GB, free: 141.1 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001129/5.968, allocations: 228 kB / 2.622 GB, free: 140.9 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003508/5.971, allocations: 0.5384 MB / 2.622 GB, free: 140.4 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0141/5.985, allocations: 4.367 MB / 2.627 GB, free: 136 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002032/5.985, allocations: 138.4 kB / 2.627 GB, free: 135.9 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007289/5.986, allocations: 192.7 kB / 2.627 GB, free: 135.7 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004933/5.991, allocations: 2.229 MB / 2.629 GB, free: 133.3 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.84e-05/5.991, allocations: 15.89 kB / 2.629 GB, free: 133.3 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003058/5.991, allocations: 64 kB / 2.629 GB, free: 133.2 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.193e-05/5.992, allocations: 40 kB / 2.629 GB, free: 133.2 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00347/5.995, allocations: 1.775 MB / 2.631 GB, free: 131.4 MB / 0.9011 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.01529/6.01, allocations: 11.53 MB / 2.642 GB, free: 119.3 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002229/6.013, allocations: 1.269 MB / 2.644 GB, free: 118 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006385/6.019, allocations: 3.449 MB / 2.647 GB, free: 114.3 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001177/6.02, allocations: 0.7194 MB / 2.648 GB, free: 113.6 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002353/6.023, allocations: 0.6155 MB / 2.648 GB, free: 113 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=98): time 8.846e-06/6.023, allocations: 3.938 kB / 2.648 GB, free: 113 MB / 0.9011 GB Notification: Performance of matching and sorting (n=98): time 0.0084/6.031, allocations: 3.559 MB / 2.652 GB, free: 109.4 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/6.031, allocations: 68.36 kB / 2.652 GB, free: 109.3 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004675/6.036, allocations: 2.476 MB / 2.654 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001673/6.036, allocations: 65.64 kB / 2.654 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001445/6.037, allocations: 1.416 MB / 2.656 GB, free: 105.3 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003036/6.038, allocations: 348.2 kB / 2.656 GB, free: 105 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.734e-05/6.038, allocations: 28 kB / 2.656 GB, free: 105 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001026/6.038, allocations: 361.9 kB / 2.656 GB, free: 104.6 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001056/6.039, allocations: 0.5621 MB / 2.657 GB, free: 104.1 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001352/6.04, allocations: 1.334 MB / 2.658 GB, free: 102.4 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/6.042, allocations: 0.7741 MB / 2.659 GB, free: 101.6 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/6.042, allocations: 4 kB / 2.659 GB, free: 101.6 MB / 0.9011 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004529/6.046, allocations: 2.444 MB / 2.661 GB, free: 99.15 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001609/6.048, allocations: 5.988 MB / 2.667 GB, free: 92.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.027e-05/6.048, allocations: 19.98 kB / 2.667 GB, free: 92.58 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001191/6.049, allocations: 0.4992 MB / 2.668 GB, free: 92.09 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/6.05, allocations: 265.5 kB / 2.668 GB, free: 91.83 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/6.052, allocations: 1.909 MB / 2.67 GB, free: 89.87 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00303/6.055, allocations: 172.2 kB / 2.67 GB, free: 89.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001916/6.055, allocations: 75.98 kB / 2.67 GB, free: 89.63 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/6.055, allocations: 4 kB / 2.67 GB, free: 89.62 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003695/6.059, allocations: 2.206 MB / 2.672 GB, free: 87.38 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.059e-05/6.059, allocations: 16 kB / 2.672 GB, free: 87.37 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008021/6.06, allocations: 476.1 kB / 2.673 GB, free: 86.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009275/6.061, allocations: 261.4 kB / 2.673 GB, free: 86.64 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005606/6.066, allocations: 5.944 MB / 2.679 GB, free: 80.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002681/6.069, allocations: 180.1 kB / 2.679 GB, free: 80.26 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/6.069, allocations: 67.98 kB / 2.679 GB, free: 80.19 MB / 0.9011 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.001898/6.071, allocations: 0.8351 MB / 2.68 GB, free: 79.35 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004759/6.071, allocations: 296.2 kB / 2.68 GB, free: 79.05 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003652/6.075, allocations: 2.193 MB / 2.682 GB, free: 76.88 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/6.075, allocations: 8 kB / 2.682 GB, free: 76.87 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/6.075, allocations: 3.984 kB / 2.682 GB, free: 76.87 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002456/6.078, allocations: 1.884 MB / 2.684 GB, free: 74.93 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00639/6.084, allocations: 4.136 MB / 2.688 GB, free: 70.76 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/6.084, allocations: 4 kB / 2.688 GB, free: 70.76 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006422/6.085, allocations: 137.7 kB / 2.688 GB, free: 70.62 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008845/6.086, allocations: 474.1 kB / 2.689 GB, free: 70.17 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.388e-05/6.086, allocations: 27.98 kB / 2.689 GB, free: 70.14 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/6.087, allocations: 1.844 MB / 2.691 GB, free: 68.25 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/6.087, allocations: 3.984 kB / 2.691 GB, free: 68.24 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003902/6.091, allocations: 2.916 MB / 2.693 GB, free: 65.31 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/6.092, allocations: 497.1 kB / 2.694 GB, free: 64.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000263/6.092, allocations: 23.94 kB / 2.694 GB, free: 64.78 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/6.094, allocations: 143.6 kB / 2.694 GB, free: 64.64 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/6.094, allocations: 68.89 kB / 2.694 GB, free: 64.57 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.757e-05/6.094, allocations: 35.98 kB / 2.694 GB, free: 64.54 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.002314/6.096, allocations: 1.935 MB / 2.696 GB, free: 62.61 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.61e-07/6.096, allocations: 4 kB / 2.696 GB, free: 62.61 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003967/6.1, allocations: 1.451 MB / 2.697 GB, free: 61.15 MB / 0.9011 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.005487/6.106, allocations: 4.35 MB / 2.702 GB, free: 56.89 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004468/6.11, allocations: 2.885 MB / 2.704 GB, free: 53.96 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/6.11, allocations: 0 / 2.704 GB, free: 53.96 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0011/6.111, allocations: 0.6979 MB / 2.705 GB, free: 53.27 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004992/6.116, allocations: 1.194 MB / 2.706 GB, free: 52.12 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/6.13, allocations: 17.88 MB / 2.724 GB, free: 33.32 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001313/6.131, allocations: 2.091 MB / 2.726 GB, free: 31.2 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002936/6.134, allocations: 0.7294 MB / 2.727 GB, free: 30.5 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/6.136, allocations: 1.144 MB / 2.728 GB, free: 29.36 MB / 0.9011 GB Notification: Performance of SimCode: time 1.012e-06/6.136, allocations: 0 / 2.728 GB, free: 29.36 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6909/6.827, allocations: 83.21 MB / 2.809 GB, free: 157.2 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/6.827, allocations: 258.5 kB / 2.809 GB, free: 156.8 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.088/11.92, allocations: 2.531 kB / 2.809 GB, free: 156.8 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v1.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)