Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.723/2.723, allocations: 287.5 MB / 302.4 MB, free: 8.277 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.001344/0.001344, allocations: 178 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.4 MB / 0.6297 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009078/0.0009077, allocations: 89.98 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004856/0.0004859, allocations: 16.83 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2007, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.07355/0.2743, allocations: 49.15 MB / 1.026 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03704/0.3114, allocations: 16.63 MB / 1.043 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003198/0.3147, allocations: 75.5 kB / 1.043 GB, free: 10.24 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004212/0.3189, allocations: 0.796 MB / 1.044 GB, free: 9.441 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008115/0.3271, allocations: 1.867 MB / 1.045 GB, free: 7.566 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01193/0.339, allocations: 2.736 MB / 1.048 GB, free: 4.852 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.01012/0.3492, allocations: 5.173 MB / 1.053 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003305/0.3525, allocations: 1.226 MB / 1.054 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005006/0.3576, allocations: 1.548 MB / 1.056 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003325/0.361, allocations: 1.26 MB / 1.057 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006348/0.3616, allocations: 68 kB / 1.057 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005656/0.3673, allocations: 1.52 MB / 1.059 GB, free: 10 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001151/0.3685, allocations: 410.3 kB / 1.059 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000946/0.3695, allocations: 408.6 kB / 1.059 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005678/0.3752, allocations: 2.498 MB / 1.062 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3753, allocations: 3.938 kB / 1.062 GB, free: 6.684 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.504e-06/0.3753, allocations: 0 / 1.062 GB, free: 6.684 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.216e-05/0.3753, allocations: 0 / 1.062 GB, free: 6.684 MB / 0.6823 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.006731/0.3821, allocations: 2.249 MB / 1.064 GB, free: 4.367 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.3822, allocations: 12.03 kB / 1.064 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005748/0.3827, allocations: 165 kB / 1.064 GB, free: 4.184 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003763/0.3865, allocations: 489 kB / 1.065 GB, free: 3.703 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005441/0.392, allocations: 1.579 MB / 1.066 GB, free: 2.074 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007148/0.3928, allocations: 154.2 kB / 1.066 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004184/0.3932, allocations: 128 kB / 1.066 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004525/0.3978, allocations: 1.395 MB / 1.068 GB, free: 308 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.616e-05/0.3978, allocations: 8 kB / 1.068 GB, free: 300 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001911/0.398, allocations: 48 kB / 1.068 GB, free: 252 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-05/0.3981, allocations: 31.98 kB / 1.068 GB, free: 220 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6173/1.015, allocations: 1.121 MB / 1.069 GB, free: 89.53 MB / 0.6823 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.01647/1.032, allocations: 7.007 MB / 1.076 GB, free: 84.66 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004794/1.037, allocations: 1.431 MB / 1.077 GB, free: 83.77 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001917/1.039, allocations: 433.3 kB / 1.078 GB, free: 83.64 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007862/1.047, allocations: 3.084 MB / 1.081 GB, free: 81.21 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001992/1.049, allocations: 471.7 kB / 1.081 GB, free: 81.04 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009268/1.05, allocations: 82.66 kB / 1.081 GB, free: 81.02 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 5.28e-06/1.05, allocations: 0 / 1.081 GB, free: 81.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.006187/1.056, allocations: 1.305 MB / 1.082 GB, free: 80.51 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7e-05/1.056, allocations: 137.2 kB / 1.083 GB, free: 80.36 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003999/1.06, allocations: 1.573 MB / 1.084 GB, free: 79.78 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002606/1.06, allocations: 44.19 kB / 1.084 GB, free: 79.73 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001092/1.061, allocations: 0.8876 MB / 1.085 GB, free: 79.04 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003949/1.062, allocations: 213.6 kB / 1.085 GB, free: 78.88 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.691e-05/1.062, allocations: 20.72 kB / 1.085 GB, free: 78.86 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000113/1.062, allocations: 342 kB / 1.086 GB, free: 78.54 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0019/1.064, allocations: 397.5 kB / 1.086 GB, free: 78.43 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002365/1.066, allocations: 0.801 MB / 1.087 GB, free: 77.81 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002361/1.069, allocations: 0.495 MB / 1.087 GB, free: 77.62 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.436e-05/1.069, allocations: 3.031 kB / 1.087 GB, free: 77.62 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.005905/1.075, allocations: 1.342 MB / 1.089 GB, free: 77.09 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002776/1.075, allocations: 450.2 kB / 1.089 GB, free: 76.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.764e-05/1.075, allocations: 11.64 kB / 1.089 GB, free: 76.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.886e-05/1.075, allocations: 18.31 kB / 1.089 GB, free: 76.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002401/1.078, allocations: 261.5 kB / 1.089 GB, free: 76.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.153e-05/1.078, allocations: 26.91 kB / 1.089 GB, free: 76.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002838/1.081, allocations: 142.1 kB / 1.089 GB, free: 76.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002587/1.081, allocations: 53.89 kB / 1.089 GB, free: 76.45 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/1.081, allocations: 2.75 kB / 1.089 GB, free: 76.45 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004643/1.086, allocations: 1.168 MB / 1.091 GB, free: 76.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.766e-05/1.086, allocations: 12.34 kB / 1.091 GB, free: 76.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.802e-05/1.086, allocations: 16.81 kB / 1.091 GB, free: 76.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001976/1.088, allocations: 267.2 kB / 1.091 GB, free: 75.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-05/1.088, allocations: 26.48 kB / 1.091 GB, free: 75.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/1.09, allocations: 128.5 kB / 1.091 GB, free: 75.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002153/1.09, allocations: 54.53 kB / 1.091 GB, free: 75.95 MB / 0.6823 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 (122): * Single equations (assignments): 118 * 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.001218/1.092, allocations: 493.2 kB / 1.092 GB, free: 75.59 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004979/1.092, allocations: 163.2 kB / 1.092 GB, free: 75.51 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004579/1.097, allocations: 1.171 MB / 1.093 GB, free: 75.08 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.559e-05/1.097, allocations: 8.031 kB / 1.093 GB, free: 75.08 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/1.097, allocations: 1.031 kB / 1.093 GB, free: 75.08 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003456/1.1, allocations: 1.003 MB / 1.094 GB, free: 74.57 MB / 0.6823 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.007834/1.108, allocations: 2.448 MB / 1.096 GB, free: 73.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/1.108, allocations: 1.406 kB / 1.096 GB, free: 73.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001405/1.11, allocations: 153.9 kB / 1.096 GB, free: 73.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002629/1.11, allocations: 40.19 kB / 1.096 GB, free: 73.44 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.513e-05/1.11, allocations: 19.83 kB / 1.096 GB, free: 73.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001363/1.111, allocations: 1.367 MB / 1.098 GB, free: 72.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.111, allocations: 0 / 1.098 GB, free: 72.08 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005985/1.117, allocations: 1.625 MB / 1.099 GB, free: 71.37 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/1.119, allocations: 357 kB / 1.1 GB, free: 71.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004052/1.119, allocations: 13.73 kB / 1.1 GB, free: 71.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001918/1.121, allocations: 123.5 kB / 1.1 GB, free: 71.08 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001995/1.121, allocations: 54.09 kB / 1.1 GB, free: 71.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001229/1.121, allocations: 33.28 kB / 1.1 GB, free: 71.07 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002395/1.124, allocations: 1.11 MB / 1.101 GB, free: 70.62 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.02e-07/1.124, allocations: 0 / 1.101 GB, free: 70.62 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004338/1.128, allocations: 0.9241 MB / 1.102 GB, free: 70.47 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.008361/1.137, allocations: 2.811 MB / 1.105 GB, free: 69.11 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006261/1.143, allocations: 1.725 MB / 1.106 GB, free: 68.46 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/1.143, allocations: 4.25 kB / 1.106 GB, free: 68.46 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002125/1.145, allocations: 0.5671 MB / 1.107 GB, free: 68.21 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006257/1.151, allocations: 0.7504 MB / 1.108 GB, free: 67.99 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0322/1.184, allocations: 11.03 MB / 1.118 GB, free: 61.21 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001153/1.185, allocations: 1.367 MB / 1.12 GB, free: 60.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003013/1.188, allocations: 428.4 kB / 1.12 GB, free: 59.98 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001569/1.189, allocations: 0.7199 MB / 1.121 GB, free: 59.38 MB / 0.6823 GB Notification: Performance of SimCode: time 1.322e-06/1.189, allocations: 4 kB / 1.121 GB, free: 59.37 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1153/1.305, allocations: 47.64 MB / 1.167 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002547/1.305, allocations: 248.9 kB / 1.168 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.748/6.053, allocations: 4.062 kB / 1.168 GB, free: 15.56 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)