Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.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: translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008717/0.0008717, allocations: 99.94 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.0009326/0.0009326, allocations: 177.3 kB / 15.95 MB, free: 216 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.197/1.197, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8161/0.8161, allocations: 135.2 MB / 426.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002632/0.0002632, allocations: 8.75 kB / 0.5068 GB, free: 5.293 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1311, allocations: 82.31 MB / 0.5872 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.2858/0.4169, allocations: 56.14 MB / 0.642 GB, free: 20.39 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02265/0.4396, allocations: 14.55 MB / 0.6562 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003936/0.4436, allocations: 80.12 kB / 0.6563 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002992/0.4466, allocations: 0.9573 MB / 0.6572 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006258/0.4529, allocations: 2.711 MB / 0.6599 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005137/0.458, allocations: 2.194 MB / 0.662 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006407/0.4645, allocations: 3.146 MB / 0.6651 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002267/0.4668, allocations: 1.361 MB / 0.6664 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003149/0.4699, allocations: 1.472 MB / 0.6679 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001703/0.4716, allocations: 0.9716 MB / 0.6688 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002326/0.4719, allocations: 73.53 kB / 0.6689 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003097/0.475, allocations: 1.347 MB / 0.6702 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004231/0.4754, allocations: 404.2 kB / 0.6706 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005257/0.476, allocations: 439.3 kB / 0.671 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003304/0.4793, allocations: 2.588 MB / 0.6735 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.4793, allocations: 1.469 kB / 0.6735 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4793, allocations: 0 / 0.6735 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.765e-05/0.4793, allocations: 0 / 0.6735 GB, free: 2.055 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: 310 * Number of variables: 310 Notification: Performance of Generate backend data structure: time 0.004024/0.4834, allocations: 2.308 MB / 0.6758 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.4834, allocations: 9.188 kB / 0.6758 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/0.4847, allocations: 388.2 kB / 0.6762 GB, free: 460 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003072/0.4878, allocations: 1.657 MB / 0.6778 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003793/0.4882, allocations: 168.5 kB / 0.678 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001989/0.4884, allocations: 129.5 kB / 0.6781 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002803/0.4912, allocations: 1.428 MB / 0.6795 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.4913, allocations: 10.03 kB / 0.6795 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.4914, allocations: 51.44 kB / 0.6795 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.86e-05/0.4915, allocations: 50.52 kB / 0.6796 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002425/0.4939, allocations: 1.126 MB / 0.6807 GB, free: 14.32 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.009862/0.5038, allocations: 7.43 MB / 0.6879 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002278/0.5061, allocations: 1.375 MB / 0.6893 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004656/0.5108, allocations: 2.62 MB / 0.6918 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001002/0.5118, allocations: 469.7 kB / 0.6923 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006957/0.5125, allocations: 96.38 kB / 0.6924 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=66): time 3.015e-06/0.5125, allocations: 3.938 kB / 0.6924 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66): time 0.002842/0.5154, allocations: 1.29 MB / 0.6936 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.5154, allocations: 66.77 kB / 0.6937 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002057/0.5175, allocations: 1.537 MB / 0.6952 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.683e-05/0.5176, allocations: 44.14 kB / 0.6952 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000716/0.5183, allocations: 0.8829 MB / 0.6961 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.5185, allocations: 236.4 kB / 0.6963 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.622e-05/0.5186, allocations: 15.56 kB / 0.6963 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.5187, allocations: 343.3 kB / 0.6967 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008091/0.5196, allocations: 374.6 kB / 0.697 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.5206, allocations: 0.7172 MB / 0.6977 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009256/0.5215, allocations: 486.5 kB / 0.6982 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/0.5215, allocations: 2.562 kB / 0.6982 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002457/0.524, allocations: 1.28 MB / 0.6994 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.00127/0.5253, allocations: 3.814 MB / 0.7032 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.5253, allocations: 9.375 kB / 0.7032 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.696e-05/0.5253, allocations: 15.69 kB / 0.7032 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009804/0.5263, allocations: 271.7 kB / 0.7035 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-05/0.5264, allocations: 22.16 kB / 0.7035 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.5279, allocations: 151.5 kB / 0.7036 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.528, allocations: 52.05 kB / 0.7037 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.654e-06/0.528, allocations: 3.281 kB / 0.7037 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002136/0.5302, allocations: 1.105 MB / 0.7048 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.5302, allocations: 9.156 kB / 0.7048 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.5302, allocations: 19.98 kB / 0.7048 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009217/0.5311, allocations: 269.5 kB / 0.705 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.759e-05/0.5312, allocations: 22.33 kB / 0.7051 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.5325, allocations: 144.8 kB / 0.7052 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-05/0.5326, allocations: 51.48 kB / 0.7052 GB, free: 12.57 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (122): * Single equations (assignments): 120 * 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.0009183/0.5335, allocations: 492.3 kB / 0.7057 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002392/0.5338, allocations: 164.3 kB / 0.7059 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002484/0.5363, allocations: 1.14 MB / 0.707 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.5363, allocations: 8.031 kB / 0.707 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.5363, allocations: 0 / 0.707 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001713/0.538, allocations: 0.8326 MB / 0.7078 GB, free: 11.05 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.004732/0.5428, allocations: 2.647 MB / 0.7104 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.5428, allocations: 2.75 kB / 0.7104 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007094/0.5435, allocations: 159.6 kB / 0.7105 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001936/0.5437, allocations: 47.55 kB / 0.7106 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.298e-05/0.5438, allocations: 29.84 kB / 0.7106 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/0.5448, allocations: 1.378 MB / 0.712 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.5448, allocations: 7.375 kB / 0.712 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003067/0.5479, allocations: 1.78 MB / 0.7137 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007602/0.5487, allocations: 386 kB / 0.7141 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003111/0.549, allocations: 17.81 kB / 0.7141 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.5502, allocations: 133.7 kB / 0.7142 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.5503, allocations: 64.62 kB / 0.7143 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.697e-05/0.5504, allocations: 32.89 kB / 0.7143 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001562/0.552, allocations: 1.115 MB / 0.7154 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.11e-07/0.552, allocations: 4 kB / 0.7154 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003133/0.5551, allocations: 0.9743 MB / 0.7164 GB, free: 5.281 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U) * 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 (76): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.001467/0.5566, allocations: 0.5288 MB / 0.7169 GB, free: 5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003116/0.5598, allocations: 1.605 MB / 0.7184 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.5598, allocations: 0 / 0.7184 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001125/0.5609, allocations: 0.5788 MB / 0.719 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003404/0.5643, allocations: 0.8558 MB / 0.7198 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005529/0.5699, allocations: 3.852 MB / 0.7236 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/0.5709, allocations: 1.432 MB / 0.725 GB, free: 13.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001638/0.5726, allocations: 438.6 kB / 0.7254 GB, free: 12.63 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000352/0.5729, allocations: 143.4 kB / 0.7256 GB, free: 12.49 MB / 0.545 GB Notification: Performance of SimCode: time 8.22e-07/0.5729, allocations: 0 / 0.7256 GB, free: 12.49 MB / 0.545 GB Notification: Performance of Templates: time 0.04958/0.6225, allocations: 33.53 MB / 0.7583 GB, free: 11.37 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1) Environment - environmentSimulation: