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.607/1.607, allocations: 252 MB / 267 MB, free: 10.97 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.001107/0.001107, allocations: 182.3 kB / 326.6 MB, free: 2.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.844/1.844, allocations: 205.4 MB / 0.5776 GB, free: 20.55 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.0008551/0.0008551, allocations: 88.05 kB / 0.6822 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003199, allocations: 10.39 kB / 0.7964 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1937, allocations: 106.3 MB / 0.9003 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.06228/0.256, allocations: 49.17 MB / 0.9483 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02904/0.2851, allocations: 16.6 MB / 0.9645 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003955/0.2891, allocations: 75.5 kB / 0.9646 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.004447/0.2936, allocations: 0.7878 MB / 0.9654 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.008552/0.3021, allocations: 1.884 MB / 0.9672 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.01152/0.3137, allocations: 2.716 MB / 0.9699 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.01015/0.3238, allocations: 5.163 MB / 0.9749 GB, free: 3.645 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002916/0.3268, allocations: 1.23 MB / 0.9761 GB, free: 2.391 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004836/0.3317, allocations: 1.532 MB / 0.9776 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003016/0.3347, allocations: 1.252 MB / 0.9788 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003649/0.3351, allocations: 68 kB / 0.9789 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004652/0.3398, allocations: 1.509 MB / 0.9804 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0006402/0.3404, allocations: 410.2 kB / 0.9808 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008533/0.3413, allocations: 408.6 kB / 0.9811 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00471/0.346, allocations: 2.486 MB / 0.9836 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.346, allocations: 0 / 0.9836 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.445e-06/0.3461, allocations: 0 / 0.9836 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.144e-05/0.3461, allocations: 4 kB / 0.9836 GB, free: 10.71 MB / 0.6355 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.005631/0.3517, allocations: 2.237 MB / 0.9858 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.3518, allocations: 8.031 kB / 0.9858 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002942/0.3521, allocations: 173 kB / 0.9859 GB, free: 8.219 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002807/0.3549, allocations: 492.8 kB / 0.9864 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004128/0.3591, allocations: 1.567 MB / 0.9879 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005245/0.3596, allocations: 158.1 kB / 0.9881 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002611/0.3599, allocations: 127.9 kB / 0.9882 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003761/0.3636, allocations: 1.388 MB / 0.9896 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.529e-05/0.3637, allocations: 4 kB / 0.9896 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001599/0.3639, allocations: 51.98 kB / 0.9896 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.853e-05/0.3639, allocations: 28 kB / 0.9896 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003838/0.3678, allocations: 1.132 MB / 0.9908 GB, free: 3.125 MB / 0.6355 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.01238/0.3802, allocations: 6.999 MB / 0.9976 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003506/0.3837, allocations: 1.434 MB / 0.999 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/0.3851, allocations: 439.1 kB / 0.9994 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006318/0.3914, allocations: 3.074 MB / 1.002 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001456/0.3929, allocations: 478.8 kB / 1.003 GB, free: 5.711 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005928/0.3935, allocations: 79.34 kB / 1.003 GB, free: 5.633 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=60): time 3.597e-06/0.3935, allocations: 0 / 1.003 GB, free: 5.633 MB / 0.6511 GB Notification: Performance of matching and sorting (n=60): time 0.004339/0.3979, allocations: 1.287 MB / 1.004 GB, free: 4.316 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.398, allocations: 149 kB / 1.004 GB, free: 4.141 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002951/0.401, allocations: 1.57 MB / 1.006 GB, free: 2.57 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001185/0.4011, allocations: 45.7 kB / 1.006 GB, free: 2.52 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001057/0.4022, allocations: 0.8841 MB / 1.007 GB, free: 1.625 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002737/0.4025, allocations: 216.9 kB / 1.007 GB, free: 1.41 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.809e-05/0.4025, allocations: 20 kB / 1.007 GB, free: 1.391 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.4027, allocations: 345.9 kB / 1.007 GB, free: 1.047 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00151/0.4043, allocations: 393.8 kB / 1.008 GB, free: 0.6641 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/0.4061, allocations: 0.7931 MB / 1.008 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/0.4077, allocations: 0.4966 MB / 1.009 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.184e-05/0.4077, allocations: 4 kB / 1.009 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004735/0.4125, allocations: 1.332 MB / 1.01 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006584/0.4131, allocations: 441.5 kB / 1.011 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.165e-05/0.4132, allocations: 15.94 kB / 1.011 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.17e-05/0.4133, allocations: 20 kB / 1.011 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.4148, allocations: 259.7 kB / 1.011 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.765e-05/0.4148, allocations: 27.86 kB / 1.011 GB, free: 12.92 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002133/0.417, allocations: 136.4 kB / 1.011 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001475/0.4171, allocations: 51.98 kB / 1.011 GB, free: 12.74 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.4171, allocations: 4 kB / 1.011 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003788/0.4209, allocations: 1.161 MB / 1.012 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.923e-05/0.421, allocations: 15.98 kB / 1.012 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.932e-05/0.421, allocations: 16 kB / 1.012 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001593/0.4226, allocations: 263.7 kB / 1.013 GB, free: 11.28 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.681e-05/0.4227, allocations: 23.92 kB / 1.013 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/0.4248, allocations: 124.5 kB / 1.013 GB, free: 11.13 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/0.425, allocations: 51.98 kB / 1.013 GB, free: 11.08 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 () * Number of clocked 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.001269/0.4263, allocations: 485.3 kB / 1.013 GB, free: 10.6 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005729/0.4268, allocations: 165.9 kB / 1.013 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004384/0.4312, allocations: 1.178 MB / 1.015 GB, free: 9.242 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.278e-05/0.4313, allocations: 8 kB / 1.015 GB, free: 9.234 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.4313, allocations: 4 kB / 1.015 GB, free: 9.23 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003052/0.4344, allocations: 1.002 MB / 1.016 GB, free: 8.176 MB / 0.6667 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.005905/0.4403, allocations: 2.445 MB / 1.018 GB, free: 5.668 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.4403, allocations: 4.031 kB / 1.018 GB, free: 5.664 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007955/0.4411, allocations: 155.8 kB / 1.018 GB, free: 5.512 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001962/0.4413, allocations: 36.83 kB / 1.018 GB, free: 5.473 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.134e-05/0.4414, allocations: 19.98 kB / 1.018 GB, free: 5.453 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/0.4427, allocations: 1.367 MB / 1.019 GB, free: 3.957 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4427, allocations: 0 / 1.019 GB, free: 3.957 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003521/0.4462, allocations: 1.627 MB / 1.021 GB, free: 2.301 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007491/0.447, allocations: 350.6 kB / 1.021 GB, free: 1.938 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000383/0.4474, allocations: 12 kB / 1.021 GB, free: 1.926 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/0.4486, allocations: 123.8 kB / 1.022 GB, free: 1.805 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.4488, allocations: 52.48 kB / 1.022 GB, free: 1.75 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-05/0.4489, allocations: 31.98 kB / 1.022 GB, free: 1.719 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001924/0.4508, allocations: 1.114 MB / 1.023 GB, free: 0.582 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4508, allocations: 0 / 1.023 GB, free: 0.582 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003156/0.454, allocations: 0.9163 MB / 1.024 GB, free: 15.66 MB / 0.6823 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) * Number of clocked states: 0 () * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005537/0.4595, allocations: 2.8 MB / 1.026 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003939/0.4635, allocations: 1.722 MB / 1.028 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.4635, allocations: 0 / 1.028 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001319/0.4648, allocations: 0.5764 MB / 1.029 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003953/0.4688, allocations: 0.7453 MB / 1.029 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02154/0.4904, allocations: 10.98 MB / 1.04 GB, free: 14.09 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/0.4914, allocations: 1.38 MB / 1.041 GB, free: 12.68 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002069/0.4935, allocations: 414.3 kB / 1.042 GB, free: 12.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009412/0.4945, allocations: 0.7219 MB / 1.042 GB, free: 11.54 MB / 0.698 GB Notification: Performance of SimCode: time 8.32e-07/0.4945, allocations: 0 / 1.042 GB, free: 11.54 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4416/0.9361, allocations: 47.46 MB / 1.089 GB, free: 129.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/0.9363, allocations: 266.6 kB / 1.089 GB, free: 129.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.678/4.614, allocations: 2.672 kB / 1.089 GB, free: 129.4 MB / 0.698 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)