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.001426/0.001433, allocations: 98.77 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.001668/0.001668, 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 1.896/1.896, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.095/1.095, allocations: 132.2 MB / 423.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005202/0.0005203, allocations: 8 kB / 0.5033 GB, free: 4.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7978/0.7983, allocations: 81.58 MB / 0.583 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.08425/0.8826, allocations: 44.74 MB / 0.6266 GB, free: 2.812 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.04065/0.9233, allocations: 13.25 MB / 0.6396 GB, free: 6.465 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005813/0.9292, allocations: 71.5 kB / 0.6397 GB, free: 6.395 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007599/0.9369, allocations: 0.9175 MB / 0.6405 GB, free: 5.477 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01905/0.956, allocations: 2.371 MB / 0.6429 GB, free: 3.109 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01325/0.9692, allocations: 2.075 MB / 0.6449 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01231/0.9816, allocations: 2.748 MB / 0.6476 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005049/0.9867, allocations: 1.238 MB / 0.6488 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0071/0.9938, allocations: 1.366 MB / 0.6501 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003913/0.9978, allocations: 0.9138 MB / 0.651 GB, free: 10.77 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001076/0.9989, allocations: 68 kB / 0.6511 GB, free: 10.7 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008026/1.007, allocations: 1.275 MB / 0.6523 GB, free: 9.422 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001497/1.009, allocations: 386.5 kB / 0.6527 GB, free: 9.043 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00161/1.01, allocations: 404.6 kB / 0.6531 GB, free: 8.641 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006732/1.017, allocations: 2.35 MB / 0.6554 GB, free: 6.285 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/1.017, allocations: 0 / 0.6554 GB, free: 6.285 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.856e-06/1.017, allocations: 0 / 0.6554 GB, free: 6.285 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.196e-05/1.017, allocations: 0 / 0.6554 GB, free: 6.285 MB / 494.1 MB 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.007583/1.025, allocations: 2.183 MB / 0.6575 GB, free: 4.035 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/1.025, allocations: 12.03 kB / 0.6575 GB, free: 4.023 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005122/1.025, allocations: 165 kB / 0.6577 GB, free: 3.852 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003431/1.029, allocations: 489 kB / 0.6581 GB, free: 3.371 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005184/1.034, allocations: 1.536 MB / 0.6596 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005794/1.035, allocations: 150.4 kB / 0.6598 GB, free: 1.637 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003278/1.035, allocations: 124 kB / 0.6599 GB, free: 1.516 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004025/1.039, allocations: 1.346 MB / 0.6612 GB, free: 80 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.498e-05/1.039, allocations: 3.938 kB / 0.6612 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/1.039, allocations: 51.98 kB / 0.6613 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.602e-05/1.039, allocations: 46.11 kB / 0.6613 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003164/1.042, allocations: 1.128 MB / 0.6624 GB, free: 14.84 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.01203/1.055, allocations: 7.139 MB / 0.6694 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003018/1.058, allocations: 1.437 MB / 0.6708 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00582/1.063, allocations: 3.095 MB / 0.6738 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001187/1.065, allocations: 454.9 kB / 0.6742 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006833/1.065, allocations: 87.25 kB / 0.6743 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=62): time 2.886e-06/1.065, allocations: 7.875 kB / 0.6743 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of matching and sorting (n=62): time 0.003861/1.069, allocations: 1.28 MB / 0.6756 GB, free: 296 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.007e-05/1.069, allocations: 63.95 kB / 0.6756 GB, free: 220 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003606/1.073, allocations: 1.576 MB / 0.6772 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000209/1.073, allocations: 41.7 kB / 0.6772 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00116/1.074, allocations: 0.8802 MB / 0.6781 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003524/1.075, allocations: 220.8 kB / 0.6783 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.744e-05/1.075, allocations: 16 kB / 0.6783 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002169/1.075, allocations: 341.9 kB / 0.6786 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001432/1.077, allocations: 381.7 kB / 0.679 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001829/1.078, allocations: 0.7515 MB / 0.6797 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/1.08, allocations: 484.6 kB / 0.6802 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/1.08, allocations: 4 kB / 0.6802 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.004494/1.084, allocations: 1.297 MB / 0.6815 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.002514/1.087, allocations: 4.363 MB / 0.6857 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-05/1.087, allocations: 12 kB / 0.6857 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.796e-05/1.087, allocations: 16 kB / 0.6857 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/1.089, allocations: 275.6 kB / 0.686 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.1e-05/1.089, allocations: 23.88 kB / 0.686 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002391/1.091, allocations: 140.4 kB / 0.6862 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001749/1.092, allocations: 55.98 kB / 0.6862 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/1.092, allocations: 0 / 0.6862 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003817/1.095, allocations: 1.126 MB / 0.6873 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.934e-05/1.095, allocations: 15.95 kB / 0.6873 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.442e-05/1.096, allocations: 19.98 kB / 0.6874 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/1.097, allocations: 268.2 kB / 0.6876 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.432e-05/1.097, allocations: 23.92 kB / 0.6876 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001835/1.099, allocations: 128.5 kB / 0.6878 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/1.099, allocations: 59.98 kB / 0.6878 GB, free: 3.164 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.0008659/1.1, allocations: 477.2 kB / 0.6883 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003692/1.1, allocations: 161.9 kB / 0.6884 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004321/1.105, allocations: 1.168 MB / 0.6896 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.83e-05/1.105, allocations: 15.94 kB / 0.6896 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/1.105, allocations: 3.938 kB / 0.6896 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003217/1.108, allocations: 0.9978 MB / 0.6906 GB, free: 284 kB / 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.007405/1.115, allocations: 2.49 MB / 0.693 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/1.116, allocations: 0 / 0.693 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/1.117, allocations: 159.8 kB / 0.6931 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003118/1.117, allocations: 32.83 kB / 0.6932 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.593e-05/1.117, allocations: 27.98 kB / 0.6932 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00192/1.119, allocations: 1.37 MB / 0.6945 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.119, allocations: 4 kB / 0.6945 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005271/1.125, allocations: 1.639 MB / 0.6961 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/1.126, allocations: 366.6 kB / 0.6965 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002834/1.126, allocations: 24.11 kB / 0.6965 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/1.127, allocations: 115.5 kB / 0.6966 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/1.127, allocations: 56.72 kB / 0.6967 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.886e-05/1.127, allocations: 31.97 kB / 0.6967 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002017/1.129, allocations: 1.129 MB / 0.6978 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.71e-07/1.129, allocations: 0 / 0.6978 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003532/1.133, allocations: 0.9006 MB / 0.6987 GB, free: 7.645 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.005975/1.139, allocations: 2.939 MB / 0.7016 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004015/1.143, allocations: 1.612 MB / 0.7031 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/1.143, allocations: 1.75 kB / 0.7031 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001402/1.144, allocations: 0.5682 MB / 0.7037 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004206/1.149, allocations: 0.7179 MB / 0.7044 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/1.162, allocations: 12.24 MB / 0.7163 GB, free: 5.262 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/1.163, allocations: 1.395 MB / 0.7177 GB, free: 3.836 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002145/1.165, allocations: 417.1 kB / 0.7181 GB, free: 3.43 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/1.166, allocations: 0.7256 MB / 0.7188 GB, free: 2.703 MB / 0.545 GB Notification: Performance of SimCode: time 1.092e-06/1.166, allocations: 4 kB / 0.7188 GB, free: 2.699 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09201/1.258, allocations: 45.62 MB / 0.7634 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002529/1.258, allocations: 235 kB / 0.7636 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.568/6.826, allocations: 3.938 kB / 0.7636 GB, free: 5.445 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: