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.487/1.487, allocations: 249.3 MB / 261.8 MB, free: 5.84 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.001091/0.001091, allocations: 174.1 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0008968/0.0008966, allocations: 87.78 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.787e-05/4.827e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2381, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.788/2.026, allocations: 447 MB / 1.328 GB, free: 248.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/2.027, allocations: 91.02 kB / 1.329 GB, free: 248.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.293/6.319, allocations: 1.135 GB / 2.464 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.513e-06/6.319, allocations: 0 / 2.464 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002284/6.319, allocations: 53.98 kB / 2.464 GB, free: 114.2 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.005031/6.324, allocations: 2.085 MB / 2.466 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/6.325, allocations: 14.67 kB / 2.466 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002428/6.325, allocations: 161.6 kB / 2.466 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002286/6.327, allocations: 459 kB / 2.466 GB, free: 112.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006089/6.333, allocations: 2.292 MB / 2.469 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.631e-05/6.333, allocations: 94.31 kB / 2.469 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/6.334, allocations: 122.6 kB / 2.469 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002186/6.336, allocations: 1.244 MB / 2.47 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.259e-05/6.336, allocations: 10.56 kB / 2.47 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/6.336, allocations: 46.53 kB / 2.47 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.29e-05/6.336, allocations: 27.88 kB / 2.47 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/6.337, allocations: 0.8376 MB / 2.471 GB, free: 110.6 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.008672/6.346, allocations: 6.874 MB / 2.478 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/6.347, allocations: 1.139 MB / 2.479 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004799/6.348, allocations: 309.3 kB / 2.479 GB, free: 103.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004103/6.352, allocations: 2.9 MB / 2.482 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005144/6.352, allocations: 349.3 kB / 2.482 GB, free: 100.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006114/6.353, allocations: 95.61 kB / 2.482 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 3.236e-06/6.353, allocations: 0 / 2.482 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.001228/6.354, allocations: 0.6632 MB / 2.483 GB, free: 100.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/6.354, allocations: 166.4 kB / 2.483 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/6.356, allocations: 1.344 MB / 2.484 GB, free: 99.47 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.043e-05/6.356, allocations: 41.64 kB / 2.484 GB, free: 99.43 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006699/6.357, allocations: 0.8951 MB / 2.485 GB, free: 98.64 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/6.357, allocations: 211.1 kB / 2.485 GB, free: 98.46 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.623e-05/6.357, allocations: 26.34 kB / 2.485 GB, free: 98.45 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.317e-05/6.357, allocations: 345 kB / 2.486 GB, free: 98.11 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004058/6.358, allocations: 271.6 kB / 2.486 GB, free: 98 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006571/6.358, allocations: 0.7061 MB / 2.487 GB, free: 97.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005415/6.359, allocations: 401.6 kB / 2.487 GB, free: 97.11 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/6.359, allocations: 0 / 2.487 GB, free: 97.11 MB / 0.8855 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001543/6.36, allocations: 1.106 MB / 2.488 GB, free: 96.55 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000895/6.361, allocations: 4.55 MB / 2.493 GB, free: 91.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.443e-05/6.361, allocations: 15.77 kB / 2.493 GB, free: 91.69 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.474e-05/6.361, allocations: 19.22 kB / 2.493 GB, free: 91.69 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009061/6.362, allocations: 249.1 kB / 2.493 GB, free: 91.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.551e-05/6.362, allocations: 27.52 kB / 2.493 GB, free: 91.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/6.364, allocations: 115.8 kB / 2.493 GB, free: 91.57 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/6.364, allocations: 61.25 kB / 2.493 GB, free: 91.56 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/6.364, allocations: 3.312 kB / 2.493 GB, free: 91.56 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001366/6.365, allocations: 0.9284 MB / 2.494 GB, free: 91.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/6.365, allocations: 10.78 kB / 2.494 GB, free: 91.11 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/6.365, allocations: 19.34 kB / 2.494 GB, free: 91.11 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008273/6.366, allocations: 243.3 kB / 2.494 GB, free: 91.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/6.366, allocations: 25.7 kB / 2.494 GB, free: 91.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/6.367, allocations: 118.2 kB / 2.494 GB, free: 91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.562e-05/6.367, allocations: 55.94 kB / 2.495 GB, free: 90.98 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.0002384/6.367, allocations: 171.2 kB / 2.495 GB, free: 90.83 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001981/6.368, allocations: 167.5 kB / 2.495 GB, free: 90.74 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/6.369, allocations: 0.9448 MB / 2.496 GB, free: 90.22 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/6.369, allocations: 10.98 kB / 2.496 GB, free: 90.22 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/6.37, allocations: 3.953 kB / 2.496 GB, free: 90.21 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009087/6.37, allocations: 0.7843 MB / 2.497 GB, free: 89.7 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.003373/6.374, allocations: 2.154 MB / 2.499 GB, free: 88.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/6.374, allocations: 0 / 2.499 GB, free: 88.27 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006346/6.374, allocations: 131.1 kB / 2.499 GB, free: 88.24 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001775/6.375, allocations: 28.06 kB / 2.499 GB, free: 88.22 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.059e-05/6.375, allocations: 26.03 kB / 2.499 GB, free: 88.21 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007802/6.376, allocations: 1.312 MB / 2.5 GB, free: 86.86 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/6.376, allocations: 1.594 kB / 2.5 GB, free: 86.86 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/6.377, allocations: 1.316 MB / 2.501 GB, free: 86.09 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000766/6.378, allocations: 343.1 kB / 2.502 GB, free: 85.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003836/6.378, allocations: 19.39 kB / 2.502 GB, free: 85.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/6.379, allocations: 101.4 kB / 2.502 GB, free: 85.75 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/6.38, allocations: 48.89 kB / 2.502 GB, free: 85.73 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-05/6.38, allocations: 31.42 kB / 2.502 GB, free: 85.71 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001836/6.382, allocations: 1.081 MB / 2.503 GB, free: 85.15 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.71e-07/6.382, allocations: 0 / 2.503 GB, free: 85.15 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004121/6.386, allocations: 1.016 MB / 2.504 GB, free: 84.87 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.006167/6.392, allocations: 3.183 MB / 2.507 GB, free: 82.11 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002939/6.395, allocations: 1.438 MB / 2.508 GB, free: 80.64 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/6.395, allocations: 0 / 2.508 GB, free: 80.64 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007881/6.396, allocations: 457.9 kB / 2.509 GB, free: 80.18 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004532/6.4, allocations: 0.7414 MB / 2.51 GB, free: 79.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008258/6.408, allocations: 2.815 MB / 2.512 GB, free: 76.68 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001153/6.41, allocations: 1.414 MB / 2.514 GB, free: 75.23 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00319/6.413, allocations: 0.6022 MB / 2.514 GB, free: 74.68 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009554/6.414, allocations: 0.7023 MB / 2.515 GB, free: 73.97 MB / 0.8855 GB Notification: Performance of SimCode: time 3.306e-06/6.414, allocations: 0 / 2.515 GB, free: 73.97 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.101/6.515, allocations: 57.56 MB / 2.571 GB, free: 17.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/6.515, allocations: 227.8 kB / 2.571 GB, free: 17.17 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.313/10.83, allocations: 0 / 2.571 GB, free: 17.17 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)