Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.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.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.451/1.451, allocations: 249.5 MB / 257 MB, free: 6.961 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.001082/0.001082, allocations: 180.9 kB / 316.3 MB, free: 3.223 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.691/1.691, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0008308/0.0008307, allocations: 92.72 kB / 0.6714 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.704e-05/1.702e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2366, allocations: 106.4 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.681/1.918, allocations: 447.3 MB / 1.322 GB, free: 297.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/1.918, allocations: 92.7 kB / 1.322 GB, free: 297.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.694/5.612, allocations: 1.129 GB / 2.452 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.593e-06/5.612, allocations: 0 / 2.452 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000207/5.612, allocations: 50.23 kB / 2.452 GB, free: 125.4 MB / 0.8855 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.004047/5.616, allocations: 2.075 MB / 2.454 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.125e-05/5.617, allocations: 9.125 kB / 2.454 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002088/5.619, allocations: 474.5 kB / 2.454 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004862/5.624, allocations: 2.283 MB / 2.456 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.311e-05/5.624, allocations: 37.25 kB / 2.456 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/5.624, allocations: 79.58 kB / 2.457 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001322/5.625, allocations: 0.7802 MB / 2.457 GB, free: 123.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/5.627, allocations: 1.08 MB / 2.458 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/5.627, allocations: 11.52 kB / 2.458 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.828e-05/5.627, allocations: 6.188 kB / 2.458 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.698e-05/5.627, allocations: 29.19 kB / 2.458 GB, free: 123.1 MB / 0.8855 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.006809/5.634, allocations: 6.688 MB / 2.465 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009695/5.635, allocations: 1.14 MB / 2.466 GB, free: 117.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003812/5.635, allocations: 295.8 kB / 2.466 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00369/5.639, allocations: 2.871 MB / 2.469 GB, free: 114.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004393/5.639, allocations: 329.3 kB / 2.469 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005163/5.64, allocations: 73.38 kB / 2.469 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 3.677e-06/5.64, allocations: 3.391 kB / 2.469 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.006382/5.646, allocations: 1.482 MB / 2.471 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/5.646, allocations: 164.8 kB / 2.471 GB, free: 114 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/5.648, allocations: 1.245 MB / 2.472 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.011e-05/5.648, allocations: 28.77 kB / 2.472 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005776/5.648, allocations: 0.8791 MB / 2.473 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/5.649, allocations: 210.5 kB / 2.473 GB, free: 112.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/5.649, allocations: 0 / 2.473 GB, free: 112.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.232e-05/5.649, allocations: 344.6 kB / 2.474 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/5.649, allocations: 263.8 kB / 2.474 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005046/5.65, allocations: 0.6935 MB / 2.475 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005693/5.655, allocations: 1.172 MB / 2.476 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.29e-05/5.655, allocations: 3.969 kB / 2.476 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.006884/5.662, allocations: 1.824 MB / 2.478 GB, free: 111 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007514/5.663, allocations: 4.552 MB / 2.482 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-05/5.663, allocations: 14.09 kB / 2.482 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.365e-05/5.663, allocations: 21.64 kB / 2.482 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008624/5.664, allocations: 238.9 kB / 2.482 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/5.664, allocations: 32.8 kB / 2.482 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/5.665, allocations: 98.05 kB / 2.482 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.763e-05/5.665, allocations: 56.45 kB / 2.482 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.178e-06/5.665, allocations: 4.875 kB / 2.482 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006123/5.672, allocations: 1.604 MB / 2.484 GB, free: 105.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/5.672, allocations: 16.41 kB / 2.484 GB, free: 105.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/5.672, allocations: 16.5 kB / 2.484 GB, free: 105.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008181/5.672, allocations: 246.1 kB / 2.484 GB, free: 105.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/5.672, allocations: 25.38 kB / 2.484 GB, free: 105.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/5.674, allocations: 89.69 kB / 2.484 GB, free: 105.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.891e-05/5.674, allocations: 56.94 kB / 2.484 GB, free: 105.8 MB / 0.8855 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.0002459/5.674, allocations: 139.1 kB / 2.485 GB, free: 105.7 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006147/5.68, allocations: 1.455 MB / 2.486 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/5.68, allocations: 165.4 kB / 2.486 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006455/5.687, allocations: 1.682 MB / 2.488 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/5.687, allocations: 9.766 kB / 2.488 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/5.687, allocations: 6.984 kB / 2.488 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005605/5.693, allocations: 1.532 MB / 2.489 GB, free: 104.4 MB / 0.8855 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.008272/5.701, allocations: 2.736 MB / 2.492 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/5.701, allocations: 0 / 2.492 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006587/5.702, allocations: 133.9 kB / 2.492 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001803/5.702, allocations: 30.89 kB / 2.492 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.312e-05/5.702, allocations: 14.95 kB / 2.492 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000705/5.703, allocations: 1.27 MB / 2.493 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/5.703, allocations: 3.344 kB / 2.493 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00649/5.709, allocations: 2.049 MB / 2.495 GB, free: 101.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006049/5.71, allocations: 336.3 kB / 2.496 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002178/5.71, allocations: 0 / 2.496 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008204/5.711, allocations: 79.19 kB / 2.496 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/5.711, allocations: 56.27 kB / 2.496 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.927e-05/5.711, allocations: 26.62 kB / 2.496 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001224/5.712, allocations: 0.9245 MB / 2.497 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2e-07/5.712, allocations: 2.953 kB / 2.497 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00326/5.715, allocations: 0.9943 MB / 2.498 GB, free: 100.6 MB / 0.8855 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.009121/5.725, allocations: 3.878 MB / 2.502 GB, free: 98.88 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001912/5.727, allocations: 1.37 MB / 2.503 GB, free: 98.26 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/5.727, allocations: 2.734 kB / 2.503 GB, free: 98.26 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005821/5.727, allocations: 436.3 kB / 2.503 GB, free: 98.04 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003077/5.73, allocations: 0.6389 MB / 2.504 GB, free: 97.89 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00602/5.736, allocations: 2.729 MB / 2.507 GB, free: 96.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008717/5.737, allocations: 1.412 MB / 2.508 GB, free: 95.93 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002504/5.74, allocations: 0.5891 MB / 2.509 GB, free: 95.83 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007797/5.74, allocations: 0.6921 MB / 2.509 GB, free: 95.29 MB / 0.8855 GB Notification: Performance of SimCode: time 1.172e-06/5.74, allocations: 0 / 2.509 GB, free: 95.29 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07617/5.817, allocations: 47.85 MB / 2.556 GB, free: 54.66 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/5.817, allocations: 180.4 kB / 2.556 GB, free: 54.47 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.559/9.376, allocations: 0 / 2.556 GB, free: 54.47 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)