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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8543/0.8543, allocations: 133.4 MB / 146.7 MB, free: 10.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.643/1.643, allocations: 221.3 MB / 400.4 MB, free: 5.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 91.14 kB / 483.3 MB, free: 5.883 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.261e-05/4.271e-05, allocations: 4.5 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1859, allocations: 82.31 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.358/1.544, allocations: 415.1 MB / 1.046 GB, free: 180 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/1.544, allocations: 99.44 kB / 1.046 GB, free: 180 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.573/6.116, allocations: 1.183 GB / 2.229 GB, free: 51.89 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.453e-06/6.117, allocations: 0 / 2.229 GB, free: 51.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003777/6.117, allocations: 50.05 kB / 2.229 GB, free: 51.85 MB / 0.698 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.005315/6.122, allocations: 2.033 MB / 2.231 GB, free: 49.78 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/6.122, allocations: 12.03 kB / 2.231 GB, free: 49.77 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004827/6.123, allocations: 165 kB / 2.232 GB, free: 49.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002497/6.125, allocations: 458.1 kB / 2.232 GB, free: 49.15 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006775/6.132, allocations: 2.267 MB / 2.234 GB, free: 46.89 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.919e-05/6.132, allocations: 95.41 kB / 2.234 GB, free: 46.79 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003272/6.133, allocations: 119.9 kB / 2.234 GB, free: 46.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002265/6.135, allocations: 1.215 MB / 2.236 GB, free: 45.36 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/6.135, allocations: 7.938 kB / 2.236 GB, free: 45.35 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/6.135, allocations: 44 kB / 2.236 GB, free: 45.31 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-05/6.135, allocations: 50.03 kB / 2.236 GB, free: 45.26 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/6.137, allocations: 0.8319 MB / 2.237 GB, free: 44.42 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.008612/6.145, allocations: 6.933 MB / 2.243 GB, free: 37 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/6.146, allocations: 1.129 MB / 2.244 GB, free: 35.75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004543/6.147, allocations: 326.5 kB / 2.245 GB, free: 35.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00461/6.151, allocations: 3.028 MB / 2.248 GB, free: 32.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005039/6.152, allocations: 355 kB / 2.248 GB, free: 31.73 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006542/6.152, allocations: 87.3 kB / 2.248 GB, free: 31.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=62): time 4.459e-06/6.153, allocations: 0 / 2.248 GB, free: 31.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=62): time 0.001261/6.154, allocations: 0.6736 MB / 2.249 GB, free: 30.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/6.154, allocations: 115.4 kB / 2.249 GB, free: 30.82 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/6.156, allocations: 1.321 MB / 2.25 GB, free: 29.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.148e-05/6.156, allocations: 41.7 kB / 2.25 GB, free: 29.45 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005655/6.156, allocations: 0.88 MB / 2.251 GB, free: 28.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/6.157, allocations: 221.8 kB / 2.251 GB, free: 28.35 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/6.157, allocations: 20 kB / 2.251 GB, free: 28.33 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.074e-05/6.157, allocations: 341.9 kB / 2.252 GB, free: 27.99 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003852/6.157, allocations: 254 kB / 2.252 GB, free: 27.74 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005359/6.158, allocations: 0.6702 MB / 2.252 GB, free: 26.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005146/6.158, allocations: 393.9 kB / 2.253 GB, free: 26.49 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/6.158, allocations: 4 kB / 2.253 GB, free: 26.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001532/6.16, allocations: 1.07 MB / 2.254 GB, free: 25.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008119/6.16, allocations: 4.447 MB / 2.258 GB, free: 20.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/6.16, allocations: 8 kB / 2.258 GB, free: 20.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.83e-05/6.161, allocations: 20 kB / 2.258 GB, free: 20.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008666/6.161, allocations: 243.6 kB / 2.259 GB, free: 20.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.6e-05/6.161, allocations: 23.92 kB / 2.259 GB, free: 20.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/6.163, allocations: 135.5 kB / 2.259 GB, free: 20.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/6.163, allocations: 51.98 kB / 2.259 GB, free: 20.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/6.163, allocations: 4 kB / 2.259 GB, free: 20.09 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001287/6.164, allocations: 0.9051 MB / 2.26 GB, free: 19.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/6.164, allocations: 16.25 kB / 2.26 GB, free: 19.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/6.164, allocations: 16 kB / 2.26 GB, free: 19.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008235/6.165, allocations: 243.6 kB / 2.26 GB, free: 18.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-05/6.165, allocations: 23.92 kB / 2.26 GB, free: 18.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/6.166, allocations: 103.9 kB / 2.26 GB, free: 18.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.412e-05/6.166, allocations: 51.98 kB / 2.26 GB, free: 18.74 MB / 0.698 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 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete 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.0001923/6.166, allocations: 168.6 kB / 2.26 GB, free: 18.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002389/6.167, allocations: 173.8 kB / 2.26 GB, free: 18.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/6.168, allocations: 0.9575 MB / 2.261 GB, free: 17.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/6.168, allocations: 12 kB / 2.261 GB, free: 17.42 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/6.168, allocations: 4 kB / 2.261 GB, free: 17.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008937/6.169, allocations: 0.7861 MB / 2.262 GB, free: 16.57 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.003719/6.173, allocations: 2.196 MB / 2.264 GB, free: 14.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/6.173, allocations: 8.062 kB / 2.264 GB, free: 14.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006225/6.174, allocations: 135.8 kB / 2.264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001709/6.174, allocations: 28.8 kB / 2.264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.098e-05/6.174, allocations: 27.97 kB / 2.264 GB, free: 14.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008656/6.175, allocations: 1.299 MB / 2.266 GB, free: 12.71 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/6.175, allocations: 4.031 kB / 2.266 GB, free: 12.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/6.176, allocations: 1.321 MB / 2.267 GB, free: 11.33 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005765/6.177, allocations: 346.7 kB / 2.267 GB, free: 10.97 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002929/6.177, allocations: 16 kB / 2.267 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009614/6.178, allocations: 99.81 kB / 2.267 GB, free: 10.86 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/6.178, allocations: 56.48 kB / 2.267 GB, free: 10.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-05/6.178, allocations: 31.97 kB / 2.268 GB, free: 10.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001302/6.18, allocations: 1.07 MB / 2.269 GB, free: 9.672 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.4e-07/6.18, allocations: 0 / 2.269 GB, free: 9.672 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003132/6.183, allocations: 0.9863 MB / 2.27 GB, free: 8.684 MB / 0.698 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) * 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 (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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004147/6.187, allocations: 3.144 MB / 2.273 GB, free: 5.762 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001834/6.189, allocations: 1.351 MB / 2.274 GB, free: 4.391 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/6.189, allocations: 3.938 kB / 2.274 GB, free: 4.387 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006181/6.19, allocations: 462 kB / 2.274 GB, free: 3.922 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003101/6.193, allocations: 0.724 MB / 2.275 GB, free: 3.211 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005668/6.198, allocations: 2.758 MB / 2.278 GB, free: 408 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/6.2, allocations: 1.41 MB / 2.279 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002693/6.202, allocations: 0.5914 MB / 2.28 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009713/6.203, allocations: 0.6867 MB / 2.28 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of SimCode: time 9.01e-07/6.203, allocations: 0 / 2.28 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5799/6.783, allocations: 56.1 MB / 2.335 GB, free: 96.77 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001448/6.783, allocations: 217.7 kB / 2.335 GB, free: 96.54 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.831/11.61, allocations: 0 / 2.335 GB, free: 96.54 MB / 0.7136 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)