Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json 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/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002199/0.002199, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.722/2.722, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.846/1.846, allocations: 135.2 MB / 426.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007949/0.0007953, allocations: 8 kB / 0.5069 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.4161, allocations: 82.31 MB / 0.5873 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.9212/1.337, allocations: 44.72 MB / 0.6309 GB, free: 28.24 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.04932/1.387, allocations: 13.24 MB / 0.6439 GB, free: 18.93 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008865/1.396, allocations: 74.88 kB / 0.644 GB, free: 18.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.008046/1.404, allocations: 0.9148 MB / 0.6448 GB, free: 18.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01665/1.421, allocations: 2.378 MB / 0.6472 GB, free: 16.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01351/1.434, allocations: 2.077 MB / 0.6492 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01177/1.446, allocations: 2.738 MB / 0.6519 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00551/1.452, allocations: 1.23 MB / 0.6531 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006466/1.458, allocations: 1.369 MB / 0.6544 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003924/1.462, allocations: 0.9164 MB / 0.6553 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001127/1.463, allocations: 67.47 kB / 0.6554 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009891/1.473, allocations: 1.277 MB / 0.6566 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002145/1.475, allocations: 386.4 kB / 0.657 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002709/1.478, allocations: 406.3 kB / 0.6574 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01182/1.49, allocations: 2.347 MB / 0.6597 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.079e-05/1.49, allocations: 0 / 0.6597 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.677e-06/1.49, allocations: 0 / 0.6597 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002682/1.491, allocations: 0.75 kB / 0.6597 GB, free: 11.63 MB / 0.4981 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.01262/1.503, allocations: 2.182 MB / 0.6618 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 8.021e-05/1.503, allocations: 9.625 kB / 0.6618 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001406/1.505, allocations: 174.5 kB / 0.662 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005091/1.51, allocations: 482.8 kB / 0.6624 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009994/1.52, allocations: 1.536 MB / 0.6639 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001009/1.521, allocations: 158.9 kB / 0.6641 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009965/1.522, allocations: 122.1 kB / 0.6642 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008217/1.53, allocations: 1.348 MB / 0.6655 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001489/1.531, allocations: 6.312 kB / 0.6655 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006009/1.531, allocations: 46.38 kB / 0.6656 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001354/1.531, allocations: 41.84 kB / 0.6656 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006355/1.538, allocations: 1.123 MB / 0.6667 GB, free: 7.992 MB / 0.4981 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.02318/1.561, allocations: 7.147 MB / 0.6737 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005053/1.566, allocations: 1.426 MB / 0.6751 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01061/1.577, allocations: 3.106 MB / 0.6781 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002155/1.579, allocations: 458.2 kB / 0.6785 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001547/1.581, allocations: 89.73 kB / 0.6786 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 7.714e-06/1.581, allocations: 0 / 0.6786 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=62): time 0.007178/1.588, allocations: 1.28 MB / 0.6799 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/1.588, allocations: 62.84 kB / 0.6799 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006851/1.595, allocations: 1.582 MB / 0.6815 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005592/1.595, allocations: 42.61 kB / 0.6815 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002102/1.598, allocations: 0.8723 MB / 0.6824 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007962/1.598, allocations: 221 kB / 0.6826 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/1.599, allocations: 19.97 kB / 0.6826 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0003173/1.599, allocations: 343.1 kB / 0.6829 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001969/1.601, allocations: 374.8 kB / 0.6833 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002845/1.604, allocations: 0.7541 MB / 0.684 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002705/1.606, allocations: 495.5 kB / 0.6845 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.1e-05/1.607, allocations: 3.25 kB / 0.6845 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.007411/1.614, allocations: 1.29 MB / 0.6858 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.003396/1.617, allocations: 4.363 MB / 0.69 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.793e-05/1.618, allocations: 9.781 kB / 0.69 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000105/1.618, allocations: 23 kB / 0.6901 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002577/1.62, allocations: 277.6 kB / 0.6903 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.642e-05/1.62, allocations: 21.48 kB / 0.6903 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004089/1.625, allocations: 140.3 kB / 0.6905 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005179/1.625, allocations: 54.59 kB / 0.6905 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/1.625, allocations: 3.812 kB / 0.6905 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005355/1.631, allocations: 1.127 MB / 0.6916 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-05/1.631, allocations: 10.31 kB / 0.6916 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.012e-05/1.631, allocations: 19.59 kB / 0.6917 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002066/1.633, allocations: 268.4 kB / 0.6919 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.766e-05/1.633, allocations: 23.2 kB / 0.6919 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00335/1.636, allocations: 131.3 kB / 0.6921 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003084/1.637, allocations: 53.66 kB / 0.6921 GB, free: 5.766 MB / 0.5137 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 (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.002335/1.639, allocations: 487.3 kB / 0.6926 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001106/1.64, allocations: 161.9 kB / 0.6927 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006732/1.647, allocations: 1.17 MB / 0.6939 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.826e-05/1.647, allocations: 7.562 kB / 0.6939 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.01e-05/1.647, allocations: 0 / 0.6939 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004055/1.651, allocations: 0.9982 MB / 0.6949 GB, free: 4.395 MB / 0.5137 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.01544/1.667, allocations: 2.493 MB / 0.6973 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-05/1.667, allocations: 1.969 kB / 0.6973 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/1.668, allocations: 153 kB / 0.6974 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004144/1.669, allocations: 36.16 kB / 0.6975 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001651/1.669, allocations: 21.39 kB / 0.6975 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002217/1.671, allocations: 1.387 MB / 0.6988 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/1.671, allocations: 1 kB / 0.6988 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008505/1.68, allocations: 1.635 MB / 0.7004 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003099/1.683, allocations: 369.9 kB / 0.7008 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001704/1.685, allocations: 16.48 kB / 0.7008 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003278/1.688, allocations: 116.5 kB / 0.7009 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003633/1.688, allocations: 61 kB / 0.701 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000282/1.689, allocations: 35.73 kB / 0.701 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005077/1.694, allocations: 1.125 MB / 0.7021 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.022e-06/1.694, allocations: 0 / 0.7021 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0103/1.704, allocations: 0.9012 MB / 0.703 GB, free: 15.68 MB / 0.5294 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 (70): * Single equations (assignments): 61 * 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.0142/1.718, allocations: 2.919 MB / 0.7058 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007784/1.726, allocations: 1.624 MB / 0.7074 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.697e-05/1.726, allocations: 0 / 0.7074 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002437/1.729, allocations: 0.5702 MB / 0.708 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007099/1.736, allocations: 0.7168 MB / 0.7087 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02458/1.761, allocations: 12.25 MB / 0.7206 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002834/1.764, allocations: 1.395 MB / 0.722 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005025/1.769, allocations: 426 kB / 0.7224 GB, free: 15.28 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003114/1.772, allocations: 0.7179 MB / 0.7231 GB, free: 14.57 MB / 0.545 GB Notification: Performance of SimCode: time 4.017e-06/1.772, allocations: 0 / 0.7231 GB, free: 14.57 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2446/2.016, allocations: 45.63 MB / 0.7677 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000425/2.017, allocations: 239.9 kB / 0.7679 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.508/8.525, allocations: 4 kB / 0.7679 GB, free: 1.25 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1) Environment - environmentSimulation: