Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008969/0.0008969, allocations: 98.83 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009425/0.0009426, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.68/1.68, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005056/0.0005056, allocations: 19.95 kB / 0.6735 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2255, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.04705/0.2726, allocations: 44.86 MB / 0.8309 GB, free: 15 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02339/0.2961, allocations: 15.62 MB / 0.8462 GB, free: 15.35 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002559/0.2987, allocations: 67.56 kB / 0.8462 GB, free: 15.29 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003871/0.3026, allocations: 0.9671 MB / 0.8472 GB, free: 14.32 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008007/0.3106, allocations: 2.323 MB / 0.8495 GB, free: 11.99 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008781/0.3194, allocations: 3.007 MB / 0.8524 GB, free: 9.016 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005637/0.325, allocations: 2.768 MB / 0.8551 GB, free: 6.242 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002305/0.3274, allocations: 1.242 MB / 0.8563 GB, free: 4.973 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002978/0.3304, allocations: 1.366 MB / 0.8576 GB, free: 3.602 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001523/0.3319, allocations: 0.9137 MB / 0.8585 GB, free: 2.684 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001961/0.3321, allocations: 68 kB / 0.8586 GB, free: 2.617 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002875/0.335, allocations: 1.377 MB / 0.8599 GB, free: 1.238 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003965/0.3354, allocations: 390.5 kB / 0.8603 GB, free: 0.8555 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004958/0.3359, allocations: 408.6 kB / 0.8607 GB, free: 460 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002981/0.3389, allocations: 2.439 MB / 0.8631 GB, free: 14 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3389, allocations: 0 / 0.8631 GB, free: 14 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3389, allocations: 0 / 0.8631 GB, free: 14 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.463e-05/0.339, allocations: 0 / 0.8631 GB, free: 14 MB / 0.6856 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.004374/0.3434, allocations: 2.229 MB / 0.8653 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/0.3434, allocations: 8.031 kB / 0.8653 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002217/0.3457, allocations: 485 kB / 0.8657 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003235/0.3489, allocations: 1.536 MB / 0.8672 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003623/0.3493, allocations: 162.1 kB / 0.8674 GB, free: 9.477 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/0.3495, allocations: 120 kB / 0.8675 GB, free: 9.359 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/0.352, allocations: 1.376 MB / 0.8689 GB, free: 7.883 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.352, allocations: 3.938 kB / 0.8689 GB, free: 7.879 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.3521, allocations: 48 kB / 0.8689 GB, free: 7.832 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.615e-05/0.3522, allocations: 31.98 kB / 0.8689 GB, free: 7.801 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002562/0.3547, allocations: 1.117 MB / 0.87 GB, free: 6.676 MB / 0.6856 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.008976/0.3637, allocations: 7.152 MB / 0.877 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002373/0.3661, allocations: 1.411 MB / 0.8784 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004558/0.3707, allocations: 3.091 MB / 0.8814 GB, free: 10 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009965/0.3717, allocations: 454.8 kB / 0.8818 GB, free: 9.547 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004642/0.3722, allocations: 91.25 kB / 0.8819 GB, free: 9.457 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=61): time 2.705e-06/0.3722, allocations: 0 / 0.8819 GB, free: 9.457 MB / 0.7012 GB Notification: Performance of matching and sorting (n=61): time 0.002908/0.3751, allocations: 1.28 MB / 0.8832 GB, free: 8.148 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.922e-05/0.3752, allocations: 141.1 kB / 0.8833 GB, free: 7.98 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001937/0.3772, allocations: 1.601 MB / 0.8849 GB, free: 6.379 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.218e-05/0.3772, allocations: 45.7 kB / 0.8849 GB, free: 6.328 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007099/0.378, allocations: 0.8881 MB / 0.8858 GB, free: 5.43 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000181/0.3781, allocations: 220.8 kB / 0.886 GB, free: 5.211 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-05/0.3782, allocations: 20 kB / 0.886 GB, free: 5.191 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3784, allocations: 341.9 kB / 0.8863 GB, free: 4.852 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008928/0.3793, allocations: 394.1 kB / 0.8867 GB, free: 4.469 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.3805, allocations: 0.8026 MB / 0.8875 GB, free: 3.473 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.3815, allocations: 0.4928 MB / 0.888 GB, free: 2.977 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/0.3815, allocations: 8 kB / 0.888 GB, free: 2.969 MB / 0.7012 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002595/0.3841, allocations: 1.332 MB / 0.8893 GB, free: 1.621 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.00167/0.3858, allocations: 4.364 MB / 0.8935 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-05/0.3858, allocations: 15.98 kB / 0.8936 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.395e-05/0.3859, allocations: 16 kB / 0.8936 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009848/0.3869, allocations: 267.6 kB / 0.8938 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.089e-05/0.3869, allocations: 23.92 kB / 0.8939 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.3881, allocations: 136.5 kB / 0.894 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.636e-05/0.3882, allocations: 59.98 kB / 0.894 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.943e-06/0.3882, allocations: 0 / 0.894 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00226/0.3905, allocations: 1.157 MB / 0.8952 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.3905, allocations: 12 kB / 0.8952 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.3906, allocations: 23.89 kB / 0.8952 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009204/0.3915, allocations: 268.2 kB / 0.8955 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.756e-05/0.3915, allocations: 23.92 kB / 0.8955 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.3927, allocations: 128.4 kB / 0.8956 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-05/0.3928, allocations: 63.95 kB / 0.8957 GB, free: 10.71 MB / 0.7169 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 (123): * Single equations (assignments): 119 * 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.0007616/0.3935, allocations: 480.7 kB / 0.8961 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/0.3937, allocations: 165.9 kB / 0.8963 GB, free: 10.06 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002525/0.3963, allocations: 1.167 MB / 0.8974 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.3963, allocations: 4 kB / 0.8974 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.3963, allocations: 7.984 kB / 0.8974 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001845/0.3982, allocations: 0.99 MB / 0.8984 GB, free: 7.832 MB / 0.7169 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.00417/0.4023, allocations: 2.479 MB / 0.9008 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/0.4024, allocations: 4 kB / 0.9008 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007084/0.4031, allocations: 159.8 kB / 0.901 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001929/0.4033, allocations: 36.83 kB / 0.901 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.045e-05/0.4033, allocations: 23.98 kB / 0.901 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.4045, allocations: 1.375 MB / 0.9024 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4045, allocations: 0 / 0.9024 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003076/0.4076, allocations: 1.643 MB / 0.904 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007382/0.4083, allocations: 374.4 kB / 0.9043 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002467/0.4086, allocations: 12 kB / 0.9044 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009781/0.4096, allocations: 115.9 kB / 0.9045 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.4097, allocations: 60.36 kB / 0.9045 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.835e-05/0.4098, allocations: 31.98 kB / 0.9046 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001503/0.4113, allocations: 1.145 MB / 0.9057 GB, free: 84 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4113, allocations: 0 / 0.9057 GB, free: 84 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002524/0.4138, allocations: 0.9396 MB / 0.9066 GB, free: 15.14 MB / 0.7325 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.001493/0.4153, allocations: 0.7603 MB / 0.9073 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003411/0.4187, allocations: 1.713 MB / 0.909 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4188, allocations: 0 / 0.909 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.4199, allocations: 0.5692 MB / 0.9096 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003084/0.423, allocations: 0.7373 MB / 0.9103 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005245/0.4283, allocations: 3.765 MB / 0.914 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008687/0.4292, allocations: 1.411 MB / 0.9153 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001591/0.4308, allocations: 426.3 kB / 0.9157 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003294/0.4311, allocations: 147.4 kB / 0.9159 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of SimCode: time 5.01e-07/0.4311, allocations: 0 / 0.9159 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of Templates: time 0.4003/0.8314, allocations: 31.69 MB / 0.9468 GB, free: 121.9 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1) Environment - environmentSimulation: