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.0008828/0.000883, 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.005467/0.005468, 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.266/1.266, 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-master/package.mo): time 0.8922/0.8922, allocations: 135.3 MB / 426.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002995/0.0002995, allocations: 12 kB / 0.5077 GB, free: 4.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1401, allocations: 82.31 MB / 0.5881 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.2767/0.4168, allocations: 51.86 MB / 0.6387 GB, free: 22.64 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01549/0.4323, allocations: 15.09 MB / 0.6535 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001835/0.4342, allocations: 78.47 kB / 0.6535 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00203/0.4362, allocations: 0.9503 MB / 0.6545 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004018/0.4403, allocations: 2.147 MB / 0.6566 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003847/0.4441, allocations: 2.013 MB / 0.6585 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005007/0.4491, allocations: 6.002 MB / 0.6644 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001741/0.4509, allocations: 1.366 MB / 0.6657 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00271/0.4536, allocations: 1.607 MB / 0.6673 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001632/0.4552, allocations: 1.303 MB / 0.6686 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001809/0.4554, allocations: 66.38 kB / 0.6686 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003169/0.4586, allocations: 1.71 MB / 0.6703 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004447/0.4591, allocations: 418.9 kB / 0.6707 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008866/0.46, allocations: 0.9372 MB / 0.6716 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00407/0.464, allocations: 3.164 MB / 0.6747 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.4641, allocations: 1.125 kB / 0.6747 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4641, allocations: 0.6562 kB / 0.6747 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.86e-05/0.4641, allocations: 4 kB / 0.6747 GB, free: 2.656 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.003655/0.4678, allocations: 2.167 MB / 0.6768 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4678, allocations: 9.969 kB / 0.6768 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002034/0.468, allocations: 173.5 kB / 0.677 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002059/0.4701, allocations: 488.8 kB / 0.6775 GB, free: 1 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002737/0.4728, allocations: 1.657 MB / 0.6791 GB, free: 72 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003811/0.4732, allocations: 159.7 kB / 0.6792 GB, free: 20 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002081/0.4734, allocations: 120.9 kB / 0.6793 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002689/0.4761, allocations: 1.365 MB / 0.6807 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.955e-05/0.4762, allocations: 1.766 kB / 0.6807 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.4763, allocations: 47.56 kB / 0.6807 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-05/0.4764, allocations: 45.73 kB / 0.6808 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002779/0.4792, allocations: 1.135 MB / 0.6819 GB, free: 14.91 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.009067/0.4882, allocations: 6.988 MB / 0.6887 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002518/0.4908, allocations: 1.426 MB / 0.6901 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/0.4918, allocations: 451.6 kB / 0.6905 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005068/0.4969, allocations: 3.134 MB / 0.6936 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001084/0.498, allocations: 464.6 kB / 0.694 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003694/0.4984, allocations: 85.95 kB / 0.6941 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.314e-06/0.4984, allocations: 0 / 0.6941 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.003093/0.5015, allocations: 1.277 MB / 0.6954 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.5015, allocations: 62.91 kB / 0.6954 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001909/0.5034, allocations: 1.513 MB / 0.6969 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.611e-05/0.5035, allocations: 43.05 kB / 0.6969 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000697/0.5042, allocations: 0.889 MB / 0.6978 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/0.5044, allocations: 213.3 kB / 0.698 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.5046, allocations: 89.17 kB / 0.6981 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.5047, allocations: 343.8 kB / 0.6984 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.5057, allocations: 399.2 kB / 0.6988 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.5069, allocations: 0.7771 MB / 0.6996 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002167/0.5091, allocations: 1.16 MB / 0.7007 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.5091, allocations: 7.406 kB / 0.7007 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002759/0.5119, allocations: 1.331 MB / 0.702 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002543/0.5122, allocations: 448.2 kB / 0.7024 GB, free: 408 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.5122, allocations: 11.44 kB / 0.7024 GB, free: 408 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.5122, allocations: 19.47 kB / 0.7025 GB, free: 404 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.5133, allocations: 267.1 kB / 0.7027 GB, free: 336 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.242e-05/0.5133, allocations: 24.36 kB / 0.7027 GB, free: 328 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.5145, allocations: 124.3 kB / 0.7028 GB, free: 276 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.831e-05/0.5146, allocations: 52.58 kB / 0.7029 GB, free: 264 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.362e-06/0.5146, allocations: 3.5 kB / 0.7029 GB, free: 264 kB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002469/0.5171, allocations: 1.139 MB / 0.704 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/0.5171, allocations: 18.92 kB / 0.704 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.5171, allocations: 16.53 kB / 0.704 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009732/0.5181, allocations: 265.1 kB / 0.7043 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.951e-05/0.5181, allocations: 23.92 kB / 0.7043 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.5192, allocations: 126.6 kB / 0.7044 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.888e-05/0.5193, allocations: 52.92 kB / 0.7045 GB, free: 15.55 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.0007904/0.5201, allocations: 479.5 kB / 0.705 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/0.5203, allocations: 165.6 kB / 0.7051 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002684/0.523, allocations: 1.154 MB / 0.7062 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/0.5231, allocations: 16.25 kB / 0.7063 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.5231, allocations: 0 / 0.7063 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002065/0.5251, allocations: 0.9931 MB / 0.7072 GB, free: 13.87 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.004654/0.5298, allocations: 2.448 MB / 0.7096 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.5298, allocations: 0 / 0.7096 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007378/0.5306, allocations: 158 kB / 0.7098 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001432/0.5307, allocations: 28.75 kB / 0.7098 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.587e-05/0.5308, allocations: 29.08 kB / 0.7098 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009325/0.5317, allocations: 1.323 MB / 0.7111 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5317, allocations: 0 / 0.7111 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003177/0.5349, allocations: 1.611 MB / 0.7127 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005721/0.5355, allocations: 345.9 kB / 0.713 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000231/0.5358, allocations: 17.02 kB / 0.713 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009875/0.5367, allocations: 118 kB / 0.7131 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.5369, allocations: 55.27 kB / 0.7132 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-05/0.5369, allocations: 33.95 kB / 0.7132 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001429/0.5384, allocations: 1.08 MB / 0.7143 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5384, allocations: 0 / 0.7143 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002454/0.5408, allocations: 0.8615 MB / 0.7151 GB, free: 7.883 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 (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.005044/0.5459, allocations: 2.76 MB / 0.7178 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003456/0.5494, allocations: 1.648 MB / 0.7194 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5494, allocations: 0 / 0.7194 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.5506, allocations: 0.5582 MB / 0.72 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003376/0.554, allocations: 0.7425 MB / 0.7207 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02191/0.5759, allocations: 13.61 MB / 0.734 GB, free: 3.711 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00088/0.5768, allocations: 1.364 MB / 0.7353 GB, free: 2.32 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001658/0.5785, allocations: 410 kB / 0.7357 GB, free: 1.914 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000876/0.5794, allocations: 0.7062 MB / 0.7364 GB, free: 1.207 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/0.5794, allocations: 4 kB / 0.7364 GB, free: 1.203 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5975/1.177, allocations: 42.77 MB / 0.7782 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002346/1.177, allocations: 268 kB / 0.7784 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.049/4.226, allocations: 0 / 0.7784 GB, free: 6.66 MB / 0.5919 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/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)