Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.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.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",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 2.043/2.043, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001101/0.001102, allocations: 172.8 kB / 361.4 MB, free: 6.832 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.677/1.677, allocations: 205.3 MB / 0.62 GB, free: 11.66 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.0009149/0.000915, allocations: 106.6 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.492e-05/3.495e-05, allocations: 11.98 kB / 0.8518 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7447/0.7447, allocations: 115.3 MB / 0.9644 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.128/1.873, allocations: 453.9 MB / 1.408 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/1.874, allocations: 91.39 kB / 1.408 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.077/5.951, allocations: 1.162 GB / 2.57 GB, free: 121 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.435e-06/5.951, allocations: 3.312 kB / 2.57 GB, free: 121 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004708/5.951, allocations: 63.59 kB / 2.57 GB, free: 121 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.007445/5.959, allocations: 2.078 MB / 2.572 GB, free: 118.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/5.959, allocations: 12.02 kB / 2.572 GB, free: 118.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002935/5.962, allocations: 459.1 kB / 2.572 GB, free: 118.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006988/5.969, allocations: 2.299 MB / 2.574 GB, free: 116.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.894e-05/5.969, allocations: 36 kB / 2.574 GB, free: 116.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00045/5.97, allocations: 72 kB / 2.574 GB, free: 116 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001995/5.972, allocations: 0.7854 MB / 2.575 GB, free: 115.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002284/5.974, allocations: 1.085 MB / 2.576 GB, free: 114.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.68e-05/5.974, allocations: 13.2 kB / 2.576 GB, free: 114 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/5.974, allocations: 0 / 2.576 GB, free: 114 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/5.974, allocations: 32 kB / 2.576 GB, free: 114 MB / 0.948 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.00949/5.984, allocations: 6.672 MB / 2.583 GB, free: 106.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/5.985, allocations: 1.156 MB / 2.584 GB, free: 105.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004248/5.985, allocations: 302.1 kB / 2.584 GB, free: 105.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004544/5.99, allocations: 2.871 MB / 2.587 GB, free: 102.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004789/5.99, allocations: 325.9 kB / 2.587 GB, free: 101.8 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007601/5.991, allocations: 74.67 kB / 2.587 GB, free: 101.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 5.149e-06/5.991, allocations: 2.625 kB / 2.587 GB, free: 101.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.006751/5.998, allocations: 1.482 MB / 2.589 GB, free: 100.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/5.998, allocations: 166.8 kB / 2.589 GB, free: 100.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00246/6, allocations: 1.248 MB / 2.59 GB, free: 98.82 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001427/6.001, allocations: 29.7 kB / 2.59 GB, free: 98.78 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008039/6.001, allocations: 0.88 MB / 2.591 GB, free: 97.89 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/6.002, allocations: 205 kB / 2.591 GB, free: 97.69 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.798e-05/6.002, allocations: 3.938 kB / 2.591 GB, free: 97.68 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.822e-05/6.002, allocations: 341.9 kB / 2.592 GB, free: 97.34 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004216/6.002, allocations: 266.5 kB / 2.592 GB, free: 97.08 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006164/6.003, allocations: 0.6864 MB / 2.593 GB, free: 96.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005897/6.009, allocations: 1.185 MB / 2.594 GB, free: 95.02 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-05/6.009, allocations: 0 / 2.594 GB, free: 95.02 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007457/6.016, allocations: 1.821 MB / 2.596 GB, free: 93.19 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009585/6.017, allocations: 4.546 MB / 2.6 GB, free: 88.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.855e-05/6.017, allocations: 12 kB / 2.6 GB, free: 88.24 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.133e-05/6.017, allocations: 16 kB / 2.6 GB, free: 88.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009791/6.018, allocations: 243.6 kB / 2.6 GB, free: 87.99 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.559e-05/6.018, allocations: 31.81 kB / 2.6 GB, free: 87.96 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/6.02, allocations: 103.7 kB / 2.6 GB, free: 87.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/6.02, allocations: 55.98 kB / 2.6 GB, free: 87.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/6.02, allocations: 4 kB / 2.6 GB, free: 87.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006808/6.027, allocations: 1.611 MB / 2.602 GB, free: 86.19 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.909e-05/6.027, allocations: 12 kB / 2.602 GB, free: 86.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/6.027, allocations: 24.12 kB / 2.602 GB, free: 86.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000918/6.028, allocations: 239.6 kB / 2.602 GB, free: 85.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-05/6.028, allocations: 23.92 kB / 2.602 GB, free: 85.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/6.03, allocations: 91.36 kB / 2.602 GB, free: 85.81 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001546/6.03, allocations: 55.98 kB / 2.602 GB, free: 85.76 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 117 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000312/6.03, allocations: 149.2 kB / 2.603 GB, free: 85.61 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006629/6.037, allocations: 1.453 MB / 2.604 GB, free: 84.14 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004588/6.037, allocations: 161.9 kB / 2.604 GB, free: 83.98 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007045/6.044, allocations: 1.682 MB / 2.606 GB, free: 82.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/6.044, allocations: 4 kB / 2.606 GB, free: 82.29 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/6.044, allocations: 7.953 kB / 2.606 GB, free: 82.29 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005823/6.05, allocations: 1.529 MB / 2.607 GB, free: 80.71 MB / 0.948 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 postOpt removeSimpleEquations (simulation): time 0.009462/6.06, allocations: 2.74 MB / 2.61 GB, free: 77.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/6.06, allocations: 4 kB / 2.61 GB, free: 77.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006696/6.06, allocations: 135.8 kB / 2.61 GB, free: 77.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001851/6.061, allocations: 28.84 kB / 2.61 GB, free: 77.77 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-05/6.061, allocations: 15.98 kB / 2.61 GB, free: 77.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008229/6.062, allocations: 1.271 MB / 2.611 GB, free: 76.37 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/6.062, allocations: 7.922 kB / 2.611 GB, free: 76.36 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007066/6.069, allocations: 2.051 MB / 2.613 GB, free: 74.28 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/6.07, allocations: 338.8 kB / 2.614 GB, free: 73.93 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005556/6.07, allocations: 0 / 2.614 GB, free: 73.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/6.072, allocations: 83.72 kB / 2.614 GB, free: 73.84 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/6.072, allocations: 60.42 kB / 2.614 GB, free: 73.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.642e-05/6.072, allocations: 27.97 kB / 2.614 GB, free: 73.76 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001996/6.074, allocations: 0.9234 MB / 2.615 GB, free: 72.84 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.61e-07/6.074, allocations: 4 kB / 2.615 GB, free: 72.84 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004883/6.079, allocations: 0.9938 MB / 2.616 GB, free: 71.84 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01043/6.089, allocations: 3.895 MB / 2.62 GB, free: 68.14 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002281/6.092, allocations: 1.367 MB / 2.621 GB, free: 66.74 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/6.092, allocations: 4.125 kB / 2.621 GB, free: 66.74 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00064/6.092, allocations: 435.9 kB / 2.621 GB, free: 66.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0035/6.096, allocations: 0.6238 MB / 2.622 GB, free: 65.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007218/6.103, allocations: 2.727 MB / 2.625 GB, free: 62.93 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001107/6.104, allocations: 1.418 MB / 2.626 GB, free: 61.49 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002985/6.107, allocations: 0.5905 MB / 2.627 GB, free: 60.94 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000891/6.108, allocations: 0.6906 MB / 2.627 GB, free: 60.25 MB / 0.948 GB Notification: Performance of SimCode: time 1.833e-06/6.108, allocations: 0 / 2.627 GB, free: 60.25 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08707/6.195, allocations: 48.01 MB / 2.674 GB, free: 12.75 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/6.196, allocations: 180.4 kB / 2.674 GB, free: 12.55 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.869/10.06, allocations: 0 / 2.674 GB, free: 12.55 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)