Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7014/0.7014, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009269/0.0009269, allocations: 180.6 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.25/1.25, allocations: 221.3 MB / 441.4 MB, free: 4.617 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008243/0.0008243, allocations: 95.77 kB / 0.5124 GB, free: 24.19 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00171/0.00171, allocations: 276.6 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.316e-05/3.318e-05, allocations: 7.984 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3461, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6729/1.019, allocations: 412.7 MB / 1.167 GB, free: 10.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/1.019, allocations: 93.3 kB / 1.167 GB, free: 10.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.744/4.763, allocations: 1.183 GB / 2.35 GB, free: 90.6 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.182e-06/4.763, allocations: 0 / 2.35 GB, free: 90.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001832/4.764, allocations: 47.36 kB / 2.35 GB, free: 90.6 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002946/4.767, allocations: 2.032 MB / 2.352 GB, free: 89.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/4.767, allocations: 14.19 kB / 2.352 GB, free: 89.7 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001621/4.767, allocations: 160.9 kB / 2.352 GB, free: 89.66 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/4.768, allocations: 454.6 kB / 2.353 GB, free: 89.54 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004312/4.773, allocations: 2.256 MB / 2.355 GB, free: 89.14 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.665e-05/4.773, allocations: 99.5 kB / 2.355 GB, free: 89.14 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/4.773, allocations: 124.5 kB / 2.355 GB, free: 89.13 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/4.775, allocations: 1.212 MB / 2.356 GB, free: 88.87 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/4.775, allocations: 0 / 2.356 GB, free: 88.87 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.821e-05/4.775, allocations: 50.52 kB / 2.357 GB, free: 88.87 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.585e-05/4.775, allocations: 47.05 kB / 2.357 GB, free: 88.86 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/4.776, allocations: 0.8315 MB / 2.357 GB, free: 88.85 MB / 0.7136 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.006071/4.782, allocations: 6.933 MB / 2.364 GB, free: 84.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000878/4.783, allocations: 1.128 MB / 2.365 GB, free: 84.14 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004167/4.783, allocations: 334.5 kB / 2.366 GB, free: 84.13 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003692/4.787, allocations: 3.028 MB / 2.369 GB, free: 82.21 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004613/4.788, allocations: 349.4 kB / 2.369 GB, free: 82.15 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003689/4.788, allocations: 85.06 kB / 2.369 GB, free: 82.12 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=62): time 3.036e-06/4.788, allocations: 5.531 kB / 2.369 GB, free: 82.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=62): time 0.00102/4.789, allocations: 0.6765 MB / 2.37 GB, free: 81.98 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/4.789, allocations: 114 kB / 2.37 GB, free: 81.86 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/4.79, allocations: 1.313 MB / 2.371 GB, free: 81.68 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.966e-05/4.79, allocations: 46.17 kB / 2.371 GB, free: 81.64 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004915/4.791, allocations: 0.876 MB / 2.372 GB, free: 81.33 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.00013/4.791, allocations: 217 kB / 2.372 GB, free: 81.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/4.791, allocations: 20.16 kB / 2.372 GB, free: 81.2 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.759e-05/4.791, allocations: 351.7 kB / 2.372 GB, free: 80.89 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003548/4.792, allocations: 252.8 kB / 2.373 GB, free: 80.89 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005265/4.792, allocations: 0.6795 MB / 2.373 GB, free: 80.38 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004543/4.793, allocations: 381.4 kB / 2.374 GB, free: 80.34 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/4.793, allocations: 3.969 kB / 2.374 GB, free: 80.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001289/4.794, allocations: 1.07 MB / 2.375 GB, free: 80.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006554/4.795, allocations: 4.447 MB / 2.379 GB, free: 75.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/4.795, allocations: 19.62 kB / 2.379 GB, free: 75.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/4.795, allocations: 17.84 kB / 2.379 GB, free: 75.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008058/4.795, allocations: 250.8 kB / 2.379 GB, free: 75.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.917e-05/4.795, allocations: 22.53 kB / 2.379 GB, free: 75.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009331/4.796, allocations: 117.2 kB / 2.38 GB, free: 75.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.192e-05/4.796, allocations: 54.77 kB / 2.38 GB, free: 75.49 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.533e-06/4.796, allocations: 3.75 kB / 2.38 GB, free: 75.49 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001131/4.798, allocations: 0.9017 MB / 2.38 GB, free: 75.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/4.798, allocations: 11.41 kB / 2.38 GB, free: 75.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/4.798, allocations: 23.58 kB / 2.38 GB, free: 75.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007591/4.798, allocations: 242.1 kB / 2.381 GB, free: 75.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/4.798, allocations: 22.03 kB / 2.381 GB, free: 75.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008236/4.799, allocations: 113.4 kB / 2.381 GB, free: 75.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.26e-05/4.799, allocations: 55.83 kB / 2.381 GB, free: 75.43 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (120): * Single equations (assignments): 118 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.0001632/4.8, allocations: 181.1 kB / 2.381 GB, free: 75.32 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/4.8, allocations: 163 kB / 2.381 GB, free: 75.23 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/4.801, allocations: 0.9636 MB / 2.382 GB, free: 75.12 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/4.801, allocations: 3.969 kB / 2.382 GB, free: 75.12 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/4.801, allocations: 3.344 kB / 2.382 GB, free: 75.12 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008312/4.802, allocations: 0.7899 MB / 2.383 GB, free: 74.85 MB / 0.7136 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.00288/4.805, allocations: 2.193 MB / 2.385 GB, free: 74.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/4.805, allocations: 6.188 kB / 2.385 GB, free: 74.47 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005909/4.806, allocations: 135.5 kB / 2.385 GB, free: 74.47 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001445/4.806, allocations: 26.42 kB / 2.385 GB, free: 74.46 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.666e-05/4.806, allocations: 24.8 kB / 2.385 GB, free: 74.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007261/4.807, allocations: 1.308 MB / 2.387 GB, free: 73.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/4.807, allocations: 5.844 kB / 2.387 GB, free: 73.21 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/4.808, allocations: 1.32 MB / 2.388 GB, free: 72.88 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004517/4.808, allocations: 345.3 kB / 2.388 GB, free: 72.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002078/4.809, allocations: 13 kB / 2.388 GB, free: 72.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008353/4.81, allocations: 105.2 kB / 2.388 GB, free: 72.68 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/4.81, allocations: 53.92 kB / 2.388 GB, free: 72.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.783e-05/4.81, allocations: 28.83 kB / 2.388 GB, free: 72.68 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001135/4.811, allocations: 1.066 MB / 2.389 GB, free: 72.52 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.082e-06/4.811, allocations: 0 / 2.389 GB, free: 72.52 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00273/4.814, allocations: 0.9782 MB / 2.39 GB, free: 72.38 MB / 0.7136 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.s[1],mov.filter.s[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 (71): * Single equations (assignments): 62 * 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.003536/4.817, allocations: 3.151 MB / 2.393 GB, free: 71.23 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001701/4.819, allocations: 1.354 MB / 2.395 GB, free: 71.08 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/4.819, allocations: 0 / 2.395 GB, free: 71.08 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005626/4.819, allocations: 470.1 kB / 2.395 GB, free: 70.96 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002665/4.822, allocations: 0.7226 MB / 2.396 GB, free: 70.95 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004362/4.826, allocations: 2.746 MB / 2.399 GB, free: 70.18 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006397/4.827, allocations: 1.392 MB / 2.4 GB, free: 69.46 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002132/4.829, allocations: 0.616 MB / 2.401 GB, free: 69.45 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006884/4.83, allocations: 0.6767 MB / 2.401 GB, free: 69.44 MB / 0.7136 GB Notification: Performance of SimCode: time 6.41e-07/4.83, allocations: 2.5 kB / 2.401 GB, free: 69.44 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07329/4.903, allocations: 56.18 MB / 2.456 GB, free: 63.75 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001351/4.903, allocations: 237.8 kB / 2.456 GB, free: 63.52 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.656/8.56, allocations: 0 / 2.456 GB, free: 63.52 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)