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 1.118/1.118, allocations: 143.4 MB / 158.3 MB, free: 5.801 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 181 kB / 191.5 MB, free: 5.77 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.568/1.568, allocations: 223.2 MB / 447.7 MB, free: 4.832 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.001048/0.001048, allocations: 80.34 kB / 0.5187 GB, free: 1.195 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001891/0.001891, allocations: 283 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006398/0.0006399, allocations: 13.16 kB / 0.6929 GB, free: 59.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2003, allocations: 82.79 MB / 0.7738 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.092/1.292, allocations: 412.7 MB / 1.177 GB, free: 264.9 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003434/1.292, allocations: 104.7 kB / 1.177 GB, free: 264.9 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.878/5.17, allocations: 1.186 GB / 2.363 GB, free: 86.97 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.383e-06/5.17, allocations: 0 / 2.363 GB, free: 86.97 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002007/5.171, allocations: 52.55 kB / 2.363 GB, free: 86.96 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.00509/5.176, allocations: 2.522 MB / 2.366 GB, free: 85.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/5.176, allocations: 8.188 kB / 2.366 GB, free: 85.91 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002091/5.176, allocations: 165.4 kB / 2.366 GB, free: 85.86 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001881/5.178, allocations: 461.8 kB / 2.366 GB, free: 85.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005061/5.183, allocations: 2.273 MB / 2.369 GB, free: 85.29 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.25e-05/5.183, allocations: 97.38 kB / 2.369 GB, free: 85.29 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/5.183, allocations: 122.2 kB / 2.369 GB, free: 85.29 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/5.186, allocations: 1.283 MB / 2.37 GB, free: 85.02 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.382e-05/5.186, allocations: 5.781 kB / 2.37 GB, free: 85.02 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/5.186, allocations: 46.78 kB / 2.37 GB, free: 85.02 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-05/5.186, allocations: 41.98 kB / 2.37 GB, free: 85.02 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00197/5.188, allocations: 0.9649 MB / 2.371 GB, free: 85 MB / 0.7136 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.007854/5.196, allocations: 6.94 MB / 2.378 GB, free: 80.89 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/5.197, allocations: 1.271 MB / 2.379 GB, free: 80.28 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004476/5.202, allocations: 2.997 MB / 2.382 GB, free: 78.39 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007749/5.203, allocations: 412.8 kB / 2.382 GB, free: 78.34 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004604/5.203, allocations: 95.14 kB / 2.383 GB, free: 78.31 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=63): time 3.446e-06/5.203, allocations: 0 / 2.383 GB, free: 78.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=63): time 0.002312/5.205, allocations: 1.132 MB / 2.384 GB, free: 78.07 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/5.205, allocations: 113.3 kB / 2.384 GB, free: 77.95 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001643/5.207, allocations: 1.337 MB / 2.385 GB, free: 77.78 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.545e-05/5.207, allocations: 46.95 kB / 2.385 GB, free: 77.75 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006465/5.208, allocations: 0.8666 MB / 2.386 GB, free: 77.44 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/5.208, allocations: 229.7 kB / 2.386 GB, free: 77.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/5.208, allocations: 19.16 kB / 2.386 GB, free: 77.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.998e-05/5.208, allocations: 344.8 kB / 2.387 GB, free: 77 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006475/5.209, allocations: 315 kB / 2.387 GB, free: 77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008195/5.21, allocations: 0.7374 MB / 2.388 GB, free: 76.49 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007527/5.21, allocations: 438.7 kB / 2.388 GB, free: 76.45 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/5.21, allocations: 3.844 kB / 2.388 GB, free: 76.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00198/5.212, allocations: 1.187 MB / 2.389 GB, free: 76.29 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008332/5.213, allocations: 4.452 MB / 2.394 GB, free: 71.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/5.213, allocations: 10.91 kB / 2.394 GB, free: 71.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.858e-05/5.213, allocations: 18.22 kB / 2.394 GB, free: 71.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008911/5.214, allocations: 245.1 kB / 2.394 GB, free: 71.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.383e-05/5.214, allocations: 26.81 kB / 2.394 GB, free: 71.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/5.215, allocations: 121.6 kB / 2.394 GB, free: 71.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.541e-05/5.216, allocations: 51.64 kB / 2.394 GB, free: 71.61 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/5.216, allocations: 3.938 kB / 2.394 GB, free: 71.61 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001745/5.217, allocations: 1.017 MB / 2.395 GB, free: 71.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/5.217, allocations: 14.42 kB / 2.395 GB, free: 71.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/5.217, allocations: 18.97 kB / 2.395 GB, free: 71.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008213/5.218, allocations: 250.2 kB / 2.395 GB, free: 71.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/5.218, allocations: 19.16 kB / 2.395 GB, free: 71.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/5.219, allocations: 115.3 kB / 2.395 GB, free: 71.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.772e-05/5.219, allocations: 58.69 kB / 2.395 GB, free: 71.55 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 119 * 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.0008836/5.22, allocations: 478.7 kB / 2.396 GB, free: 71.35 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/5.221, allocations: 170.8 kB / 2.396 GB, free: 71.26 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002025/5.223, allocations: 1.071 MB / 2.397 GB, free: 71.17 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/5.223, allocations: 6.938 kB / 2.397 GB, free: 71.17 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/5.223, allocations: 2.75 kB / 2.397 GB, free: 71.17 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001399/5.224, allocations: 0.9032 MB / 2.398 GB, free: 70.9 MB / 0.7136 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.003797/5.228, allocations: 2.312 MB / 2.4 GB, free: 70.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/5.228, allocations: 0 / 2.4 GB, free: 70.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006609/5.229, allocations: 137.9 kB / 2.4 GB, free: 70.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001607/5.229, allocations: 36.38 kB / 2.4 GB, free: 70.51 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.291e-05/5.229, allocations: 22.09 kB / 2.4 GB, free: 70.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000786/5.23, allocations: 1.312 MB / 2.402 GB, free: 69.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/5.23, allocations: 3.656 kB / 2.402 GB, free: 69.25 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002434/5.232, allocations: 1.489 MB / 2.403 GB, free: 68.92 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000692/5.233, allocations: 347.8 kB / 2.403 GB, free: 68.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002356/5.233, allocations: 14.22 kB / 2.404 GB, free: 68.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009078/5.234, allocations: 99.89 kB / 2.404 GB, free: 68.72 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/5.234, allocations: 62.12 kB / 2.404 GB, free: 68.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.517e-05/5.234, allocations: 33.45 kB / 2.404 GB, free: 68.72 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001359/5.235, allocations: 1.085 MB / 2.405 GB, free: 68.58 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/5.235, allocations: 0 / 2.405 GB, free: 68.58 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002889/5.238, allocations: 0.9751 MB / 2.406 GB, free: 68.43 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 63 * 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.004736/5.243, allocations: 3.37 MB / 2.409 GB, free: 67.29 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002605/5.246, allocations: 1.465 MB / 2.41 GB, free: 67.14 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/5.246, allocations: 6.312 kB / 2.41 GB, free: 67.14 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008534/5.247, allocations: 0.5029 MB / 2.411 GB, free: 67.04 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003084/5.25, allocations: 0.7287 MB / 2.412 GB, free: 67.02 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007799/5.257, allocations: 12.38 MB / 2.424 GB, free: 57.01 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001892/5.259, allocations: 1.392 MB / 2.425 GB, free: 72.3 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002001/5.261, allocations: 442.9 kB / 2.426 GB, free: 72.24 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007787/5.262, allocations: 0.7122 MB / 2.426 GB, free: 72.23 MB / 0.7292 GB Notification: Performance of SimCode: time 9.62e-07/5.262, allocations: 0 / 2.426 GB, free: 72.23 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08219/5.344, allocations: 51.92 MB / 2.477 GB, free: 62.64 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001641/5.345, allocations: 251.9 kB / 2.477 GB, free: 62.31 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.928/9.273, allocations: 4 kB / 2.477 GB, free: 62.3 MB / 0.7292 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)