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.0006549/0.0006548, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004817/0.004817, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.729/0.729, allocations: 132.3 MB / 423.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.0002958, allocations: 15.94 kB / 0.5041 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3567, allocations: 81.57 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.04842/0.4051, allocations: 51.87 MB / 0.6344 GB, free: 12.31 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02037/0.4256, allocations: 15.11 MB / 0.6491 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002335/0.4279, allocations: 79.5 kB / 0.6492 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002467/0.4304, allocations: 0.946 MB / 0.6501 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005166/0.4356, allocations: 2.156 MB / 0.6523 GB, free: 10.04 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00459/0.4402, allocations: 2.01 MB / 0.6542 GB, free: 8.055 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006311/0.4465, allocations: 6 MB / 0.6601 GB, free: 2.043 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001995/0.4485, allocations: 1.357 MB / 0.6614 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002813/0.4513, allocations: 1.61 MB / 0.663 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001565/0.4529, allocations: 1.299 MB / 0.6642 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001653/0.4531, allocations: 64 kB / 0.6643 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003196/0.4563, allocations: 1.711 MB / 0.666 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004565/0.4568, allocations: 426.1 kB / 0.6664 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000959/0.4577, allocations: 0.9338 MB / 0.6673 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0038/0.4615, allocations: 3.162 MB / 0.6704 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4616, allocations: 0 / 0.6704 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4616, allocations: 4 kB / 0.6704 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.36e-05/0.4616, allocations: 0 / 0.6704 GB, free: 7.41 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.003641/0.4652, allocations: 2.171 MB / 0.6725 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.4653, allocations: 8.031 kB / 0.6725 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001978/0.4655, allocations: 169.2 kB / 0.6727 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001996/0.4675, allocations: 493.2 kB / 0.6731 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00277/0.4703, allocations: 1.651 MB / 0.6748 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003734/0.4707, allocations: 158.4 kB / 0.6749 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/0.4709, allocations: 124 kB / 0.675 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/0.4733, allocations: 1.365 MB / 0.6764 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.143e-05/0.4734, allocations: 7.938 kB / 0.6764 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/0.4735, allocations: 55.88 kB / 0.6764 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.635e-05/0.4736, allocations: 42.06 kB / 0.6765 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00263/0.4762, allocations: 1.14 MB / 0.6776 GB, free: 15.81 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 preOpt removeSimpleEquations (simulation): time 0.008346/0.4845, allocations: 6.99 MB / 0.6844 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002456/0.487, allocations: 1.429 MB / 0.6858 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009703/0.488, allocations: 443.4 kB / 0.6862 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004883/0.4929, allocations: 3.13 MB / 0.6893 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/0.4939, allocations: 466.8 kB / 0.6897 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000401/0.4944, allocations: 75.41 kB / 0.6898 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.765e-06/0.4944, allocations: 0 / 0.6898 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.00302/0.4974, allocations: 1.28 MB / 0.691 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.4974, allocations: 59.97 kB / 0.6911 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/0.4993, allocations: 1.517 MB / 0.6926 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.023e-05/0.4993, allocations: 45.69 kB / 0.6926 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000659/0.5, allocations: 0.8723 MB / 0.6935 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.5002, allocations: 224.8 kB / 0.6937 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.5003, allocations: 85.67 kB / 0.6938 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.5004, allocations: 345.9 kB / 0.6941 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009403/0.5014, allocations: 397.8 kB / 0.6945 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.5026, allocations: 0.7827 MB / 0.6952 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002058/0.5046, allocations: 1.156 MB / 0.6964 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/0.5046, allocations: 7.938 kB / 0.6964 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002669/0.5073, allocations: 1.325 MB / 0.6977 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002655/0.5076, allocations: 450.2 kB / 0.6981 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.5076, allocations: 8 kB / 0.6981 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/0.5077, allocations: 20 kB / 0.6981 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009932/0.5086, allocations: 263.6 kB / 0.6984 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.18e-05/0.5087, allocations: 24.02 kB / 0.6984 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.5098, allocations: 128.4 kB / 0.6985 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.914e-05/0.5099, allocations: 55.98 kB / 0.6986 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.5099, allocations: 9.969 kB / 0.6986 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002342/0.5123, allocations: 1.141 MB / 0.6997 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.5123, allocations: 12 kB / 0.6997 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.5123, allocations: 19.94 kB / 0.6997 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000957/0.5133, allocations: 264 kB / 0.7 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.807e-05/0.5133, allocations: 23.92 kB / 0.7 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.5144, allocations: 128.4 kB / 0.7001 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-05/0.5144, allocations: 51.98 kB / 0.7002 GB, free: 7.086 MB / 0.5294 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 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006862/0.5151, allocations: 476.7 kB / 0.7006 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.5153, allocations: 169.9 kB / 0.7008 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002556/0.5179, allocations: 1.162 MB / 0.7019 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.5179, allocations: 11.98 kB / 0.7019 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.5179, allocations: 0 / 0.7019 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00196/0.5199, allocations: 0.9978 MB / 0.7029 GB, free: 4.211 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.004236/0.5241, allocations: 2.463 MB / 0.7053 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.5242, allocations: 3.938 kB / 0.7053 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007337/0.5249, allocations: 151.9 kB / 0.7055 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001413/0.5251, allocations: 28.78 kB / 0.7055 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.066e-05/0.5251, allocations: 19.98 kB / 0.7055 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000919/0.526, allocations: 1.315 MB / 0.7068 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.5261, allocations: 7.969 kB / 0.7068 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003204/0.5293, allocations: 1.6 MB / 0.7084 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000518/0.5298, allocations: 342.7 kB / 0.7087 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002165/0.53, allocations: 19.98 kB / 0.7087 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009593/0.531, allocations: 115.7 kB / 0.7088 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.5311, allocations: 64.38 kB / 0.7089 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-05/0.5312, allocations: 27.97 kB / 0.7089 GB, free: 13.81 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001377/0.5326, allocations: 1.077 MB / 0.71 GB, free: 12.71 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5326, allocations: 0 / 0.71 GB, free: 12.71 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002164/0.5348, allocations: 0.8615 MB / 0.7108 GB, free: 11.84 MB / 0.545 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 (71): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004953/0.5397, allocations: 2.779 MB / 0.7135 GB, free: 9.203 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003496/0.5432, allocations: 1.648 MB / 0.7151 GB, free: 7.539 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.5432, allocations: 0 / 0.7151 GB, free: 7.539 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.5444, allocations: 0.5727 MB / 0.7157 GB, free: 6.949 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003505/0.548, allocations: 0.7181 MB / 0.7164 GB, free: 6.238 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.022/0.57, allocations: 13.59 MB / 0.7297 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008714/0.5709, allocations: 1.36 MB / 0.731 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001697/0.5726, allocations: 417 kB / 0.7314 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008769/0.5735, allocations: 0.7101 MB / 0.7321 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.5735, allocations: 0 / 0.7321 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2757/0.8492, allocations: 42.78 MB / 0.7739 GB, free: 11 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001925/0.8495, allocations: 256.9 kB / 0.7741 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.765/3.615, allocations: 0 / 0.7741 GB, free: 10.74 MB / 0.6075 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/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)