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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.832/1.832, allocations: 289.9 MB / 297.4 MB, free: 6.363 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.001546/0.001546, allocations: 176.9 kB / 366.7 MB, free: 1.66 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.882/1.882, allocations: 205.2 MB / 0.626 GB, free: 7.172 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.001032/0.001032, allocations: 94.78 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.575e-05/2.607e-05, allocations: 4 kB / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7227/0.7228, allocations: 116.3 MB / 0.9733 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.122/1.844, allocations: 454.9 MB / 1.418 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/1.845, allocations: 91.27 kB / 1.418 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.138/5.983, allocations: 1.162 GB / 2.579 GB, free: 123.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.723e-06/5.983, allocations: 0 / 2.579 GB, free: 123.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003819/5.983, allocations: 55.62 kB / 2.58 GB, free: 123.8 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.005931/5.989, allocations: 2.08 MB / 2.582 GB, free: 122.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/5.989, allocations: 9.656 kB / 2.582 GB, free: 122.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002792/5.992, allocations: 461.6 kB / 2.582 GB, free: 122.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007116/5.999, allocations: 2.29 MB / 2.584 GB, free: 120.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.539e-05/5.999, allocations: 34.38 kB / 2.584 GB, free: 120.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004176/6, allocations: 73.41 kB / 2.584 GB, free: 120.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001981/6.002, allocations: 0.7845 MB / 2.585 GB, free: 120.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002274/6.004, allocations: 1.086 MB / 2.586 GB, free: 119.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.736e-05/6.004, allocations: 4 kB / 2.586 GB, free: 119.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/6.004, allocations: 3.953 kB / 2.586 GB, free: 119.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.559e-05/6.004, allocations: 35.94 kB / 2.586 GB, free: 119.4 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.009266/6.013, allocations: 6.692 MB / 2.593 GB, free: 112.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/6.015, allocations: 1.139 MB / 2.594 GB, free: 111 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004476/6.015, allocations: 298.9 kB / 2.594 GB, free: 110.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004625/6.02, allocations: 2.88 MB / 2.597 GB, free: 107.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004791/6.02, allocations: 329.7 kB / 2.597 GB, free: 107.2 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007837/6.021, allocations: 78.52 kB / 2.597 GB, free: 107.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 4.989e-06/6.021, allocations: 0 / 2.597 GB, free: 107.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.006962/6.028, allocations: 1.472 MB / 2.599 GB, free: 105.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/6.028, allocations: 173.6 kB / 2.599 GB, free: 105.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002525/6.031, allocations: 1.244 MB / 2.6 GB, free: 104.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001173/6.031, allocations: 33.7 kB / 2.6 GB, free: 104.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000807/6.032, allocations: 0.8827 MB / 2.601 GB, free: 103.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/6.032, allocations: 201.1 kB / 2.601 GB, free: 103.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/6.032, allocations: 0 / 2.601 GB, free: 103.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.952e-05/6.032, allocations: 341.9 kB / 2.602 GB, free: 102.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004156/6.032, allocations: 266.5 kB / 2.602 GB, free: 102.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000613/6.033, allocations: 0.6857 MB / 2.602 GB, free: 101.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006069/6.039, allocations: 1.181 MB / 2.604 GB, free: 100.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-05/6.039, allocations: 4 kB / 2.604 GB, free: 100.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007923/6.047, allocations: 1.819 MB / 2.605 GB, free: 98.71 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001096/6.048, allocations: 4.549 MB / 2.61 GB, free: 93.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-05/6.048, allocations: 12 kB / 2.61 GB, free: 93.76 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.012e-05/6.048, allocations: 20 kB / 2.61 GB, free: 93.74 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/6.049, allocations: 243.6 kB / 2.61 GB, free: 93.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.964e-05/6.049, allocations: 27.91 kB / 2.61 GB, free: 93.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/6.051, allocations: 107.6 kB / 2.61 GB, free: 93.37 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001855/6.051, allocations: 55.98 kB / 2.61 GB, free: 93.32 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/6.051, allocations: 4 kB / 2.61 GB, free: 93.31 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007039/6.058, allocations: 1.612 MB / 2.612 GB, free: 91.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.712e-05/6.059, allocations: 12 kB / 2.612 GB, free: 91.69 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/6.059, allocations: 16 kB / 2.612 GB, free: 91.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009377/6.06, allocations: 248.4 kB / 2.612 GB, free: 91.43 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.071e-05/6.06, allocations: 23.92 kB / 2.612 GB, free: 91.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/6.061, allocations: 87.86 kB / 2.612 GB, free: 91.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/6.061, allocations: 55.98 kB / 2.612 GB, free: 91.27 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.0003329/6.062, allocations: 151.1 kB / 2.612 GB, free: 91.12 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006816/6.069, allocations: 1.452 MB / 2.614 GB, free: 89.66 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005308/6.069, allocations: 161.9 kB / 2.614 GB, free: 89.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007271/6.076, allocations: 1.672 MB / 2.616 GB, free: 87.82 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.97e-05/6.076, allocations: 8 kB / 2.616 GB, free: 87.81 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/6.076, allocations: 0 / 2.616 GB, free: 87.81 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006126/6.083, allocations: 1.537 MB / 2.617 GB, free: 86.23 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.009644/6.092, allocations: 2.749 MB / 2.62 GB, free: 83.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/6.092, allocations: 3.656 kB / 2.62 GB, free: 83.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006861/6.093, allocations: 135.8 kB / 2.62 GB, free: 83.31 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000187/6.093, allocations: 28.84 kB / 2.62 GB, free: 83.28 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.369e-05/6.093, allocations: 19.97 kB / 2.62 GB, free: 83.26 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008327/6.094, allocations: 1.272 MB / 2.621 GB, free: 81.88 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/6.094, allocations: 0 / 2.621 GB, free: 81.88 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007058/6.101, allocations: 2.047 MB / 2.623 GB, free: 79.79 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/6.102, allocations: 334.8 kB / 2.624 GB, free: 79.45 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004723/6.103, allocations: 0 / 2.624 GB, free: 79.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/6.104, allocations: 75.77 kB / 2.624 GB, free: 79.37 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/6.104, allocations: 64.44 kB / 2.624 GB, free: 79.31 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.043e-05/6.104, allocations: 27.97 kB / 2.624 GB, free: 79.28 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001805/6.106, allocations: 0.9234 MB / 2.625 GB, free: 78.37 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.01e-07/6.106, allocations: 3.938 kB / 2.625 GB, free: 78.36 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004595/6.111, allocations: 1.004 MB / 2.626 GB, free: 77.36 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.01048/6.121, allocations: 3.888 MB / 2.629 GB, free: 73.67 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002205/6.123, allocations: 1.366 MB / 2.631 GB, free: 72.27 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/6.123, allocations: 1 kB / 2.631 GB, free: 72.27 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006715/6.124, allocations: 444.1 kB / 2.631 GB, free: 71.82 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003592/6.128, allocations: 0.6195 MB / 2.632 GB, free: 71.23 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007884/6.136, allocations: 2.741 MB / 2.634 GB, free: 68.45 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001255/6.137, allocations: 1.41 MB / 2.636 GB, free: 67 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00305/6.14, allocations: 0.5897 MB / 2.636 GB, free: 66.46 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008794/6.141, allocations: 0.6945 MB / 2.637 GB, free: 65.76 MB / 0.948 GB Notification: Performance of SimCode: time 1.573e-06/6.141, allocations: 0 / 2.637 GB, free: 65.76 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09001/6.231, allocations: 48 MB / 2.684 GB, free: 18.42 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002167/6.231, allocations: 172 kB / 2.684 GB, free: 18.22 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.863/10.09, allocations: 4 kB / 2.684 GB, free: 18.22 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)