Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="IDEAS_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.0008835/0.0008836, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001092/0.001092, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7473/0.7473, allocations: 132.3 MB / 423.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004449/0.0004451, allocations: 8 kB / 0.5035 GB, free: 4.109 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4042, allocations: 81.58 MB / 0.5832 GB, free: 4.207 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.04711/0.4513, allocations: 49.04 MB / 0.631 GB, free: 14.97 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02008/0.4715, allocations: 14.22 MB / 0.6449 GB, free: 1.262 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003213/0.4747, allocations: 75.5 kB / 0.645 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002913/0.4776, allocations: 0.7587 MB / 0.6457 GB, free: 436 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005535/0.4832, allocations: 1.895 MB / 0.6476 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005064/0.4883, allocations: 1.724 MB / 0.6493 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006761/0.495, allocations: 5.137 MB / 0.6543 GB, free: 7.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002679/0.4978, allocations: 1.218 MB / 0.6555 GB, free: 6.438 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003763/0.5015, allocations: 1.548 MB / 0.657 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002694/0.5042, allocations: 1.26 MB / 0.6582 GB, free: 3.617 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005951/0.5049, allocations: 71.94 kB / 0.6583 GB, free: 3.547 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003907/0.5088, allocations: 1.4 MB / 0.6597 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008222/0.5096, allocations: 414.3 kB / 0.6601 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009956/0.5106, allocations: 396.6 kB / 0.6604 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003601/0.5142, allocations: 2.412 MB / 0.6628 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.5143, allocations: 0 / 0.6628 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5143, allocations: 0 / 0.6628 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.094e-05/0.5144, allocations: 0 / 0.6628 GB, free: 14.93 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.004418/0.5188, allocations: 2.198 MB / 0.6649 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.5188, allocations: 8.031 kB / 0.6649 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003165/0.5192, allocations: 173 kB / 0.6651 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001934/0.5211, allocations: 489 kB / 0.6656 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003012/0.5241, allocations: 1.582 MB / 0.6671 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003282/0.5245, allocations: 158.4 kB / 0.6673 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/0.5247, allocations: 123.9 kB / 0.6674 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002459/0.5271, allocations: 1.361 MB / 0.6687 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.5272, allocations: 0 / 0.6687 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.5273, allocations: 48 kB / 0.6688 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.229e-05/0.5273, allocations: 46.03 kB / 0.6688 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002526/0.5299, allocations: 1.132 MB / 0.6699 GB, free: 7.395 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.008252/0.5381, allocations: 7.01 MB / 0.6768 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002312/0.5405, allocations: 1.448 MB / 0.6782 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009017/0.5414, allocations: 439.2 kB / 0.6786 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004455/0.5458, allocations: 3.095 MB / 0.6816 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001018/0.5469, allocations: 474.8 kB / 0.6821 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004984/0.5474, allocations: 83.34 kB / 0.6821 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.905e-06/0.5474, allocations: 0 / 0.6821 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.003026/0.5504, allocations: 1.291 MB / 0.6834 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.5505, allocations: 63.91 kB / 0.6835 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002263/0.5528, allocations: 1.553 MB / 0.685 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.146e-05/0.5529, allocations: 37.7 kB / 0.685 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007205/0.5536, allocations: 0.8763 MB / 0.6859 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/0.5538, allocations: 216.8 kB / 0.6861 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.241e-05/0.5539, allocations: 24 kB / 0.6861 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.554, allocations: 345.9 kB / 0.6864 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008817/0.5549, allocations: 385.8 kB / 0.6868 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/0.556, allocations: 0.7553 MB / 0.6875 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009902/0.557, allocations: 492.6 kB / 0.688 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.5571, allocations: 7.953 kB / 0.688 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002613/0.5597, allocations: 1.297 MB / 0.6893 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002471/0.5599, allocations: 437.3 kB / 0.6897 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.56, allocations: 12 kB / 0.6897 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/0.56, allocations: 20 kB / 0.6897 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.561, allocations: 271.6 kB / 0.69 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.518e-05/0.561, allocations: 23.92 kB / 0.69 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/0.5623, allocations: 132.5 kB / 0.6901 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.652e-05/0.5624, allocations: 51.98 kB / 0.6902 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.995e-06/0.5625, allocations: 4 kB / 0.6902 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002272/0.5647, allocations: 1.138 MB / 0.6913 GB, free: 72 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.5648, allocations: 11.95 kB / 0.6913 GB, free: 60 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.5648, allocations: 20 kB / 0.6913 GB, free: 40 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009572/0.5657, allocations: 268 kB / 0.6916 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.9e-05/0.5658, allocations: 23.92 kB / 0.6916 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.567, allocations: 128.5 kB / 0.6917 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-05/0.5671, allocations: 55.92 kB / 0.6918 GB, free: 15.57 MB / 0.5294 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 (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.0007264/0.5678, allocations: 484.5 kB / 0.6923 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.568, allocations: 165.8 kB / 0.6924 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002474/0.5705, allocations: 1.173 MB / 0.6936 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.5705, allocations: 8 kB / 0.6936 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.5706, allocations: 4 kB / 0.6936 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001879/0.5724, allocations: 1.002 MB / 0.6945 GB, free: 12.68 MB / 0.5294 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.004154/0.5766, allocations: 2.46 MB / 0.697 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.5766, allocations: 0 / 0.697 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007595/0.5774, allocations: 155.8 kB / 0.6971 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001747/0.5776, allocations: 36.83 kB / 0.6971 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.464e-05/0.5776, allocations: 19.98 kB / 0.6972 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/0.5789, allocations: 1.367 MB / 0.6985 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5789, allocations: 0 / 0.6985 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003314/0.5822, allocations: 1.623 MB / 0.7001 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007747/0.583, allocations: 358.6 kB / 0.7004 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002367/0.5833, allocations: 12 kB / 0.7004 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009595/0.5842, allocations: 123.9 kB / 0.7005 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.5844, allocations: 52.48 kB / 0.7006 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.706e-05/0.5844, allocations: 32.09 kB / 0.7006 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001624/0.5861, allocations: 1.093 MB / 0.7017 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/0.5861, allocations: 0 / 0.7017 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002703/0.5888, allocations: 0.8927 MB / 0.7026 GB, free: 4.191 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.004827/0.5936, allocations: 2.769 MB / 0.7053 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003337/0.597, allocations: 1.625 MB / 0.7069 GB, free: 15.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.597, allocations: 0 / 0.7069 GB, free: 15.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.5982, allocations: 0.5766 MB / 0.7074 GB, free: 15.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003124/0.6013, allocations: 0.7404 MB / 0.7081 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01899/0.6203, allocations: 10.84 MB / 0.7187 GB, free: 2.977 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000878/0.6212, allocations: 1.357 MB / 0.7201 GB, free: 1.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001781/0.623, allocations: 413.8 kB / 0.7204 GB, free: 1.188 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009071/0.6239, allocations: 0.7141 MB / 0.7211 GB, free: 484 kB / 0.545 GB Notification: Performance of SimCode: time 1.944e-06/0.624, allocations: 0 / 0.7211 GB, free: 484 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07363/0.6976, allocations: 46.06 MB / 0.7661 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/0.6978, allocations: 239.8 kB / 0.7664 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.92/3.617, allocations: 0 / 0.7664 GB, free: 2.789 MB / 0.5919 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1) Environment - environmentSimulation: