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.001776/0.001776, allocations: 174.3 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9608/0.9608, allocations: 133.6 MB / 141.6 MB, free: 2.895 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 221.5 MB / 395.5 MB, free: 10.83 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 100.9 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.487e-05/2.527e-05, allocations: 4 kB / 0.5535 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4871/0.4871, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9064/1.394, allocations: 414.4 MB / 1.039 GB, free: 3.613 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/1.394, allocations: 97.14 kB / 1.039 GB, free: 3.566 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.539/5.933, allocations: 1.178 GB / 2.216 GB, free: 88.37 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.944e-06/5.933, allocations: 0 / 2.216 GB, free: 88.37 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002354/5.933, allocations: 51.58 kB / 2.216 GB, free: 88.36 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.004645/5.938, allocations: 2.032 MB / 2.218 GB, free: 87.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/5.938, allocations: 10.31 kB / 2.218 GB, free: 87.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002349/5.94, allocations: 460.2 kB / 2.219 GB, free: 87.34 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006165/5.946, allocations: 2.263 MB / 2.221 GB, free: 86.91 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.784e-05/5.946, allocations: 40.25 kB / 2.221 GB, free: 86.91 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/5.947, allocations: 72.38 kB / 2.221 GB, free: 86.91 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001476/5.948, allocations: 0.7718 MB / 2.222 GB, free: 86.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/5.95, allocations: 1.064 MB / 2.223 GB, free: 86.64 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.14e-05/5.95, allocations: 3.906 kB / 2.223 GB, free: 86.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.292e-05/5.95, allocations: 2.094 kB / 2.223 GB, free: 86.64 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.807e-05/5.95, allocations: 51.28 kB / 2.223 GB, free: 86.63 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.00815/5.958, allocations: 6.719 MB / 2.23 GB, free: 82.57 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009316/5.959, allocations: 1.141 MB / 2.231 GB, free: 81.97 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004053/5.959, allocations: 318.3 kB / 2.231 GB, free: 81.96 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004495/5.964, allocations: 2.989 MB / 2.234 GB, free: 80.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004693/5.964, allocations: 338.4 kB / 2.234 GB, free: 79.98 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000608/5.965, allocations: 74.98 kB / 2.234 GB, free: 79.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=62): time 3.045e-06/5.965, allocations: 0 / 2.234 GB, free: 79.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=62): time 0.006459/5.972, allocations: 1.482 MB / 2.236 GB, free: 79.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/5.972, allocations: 114.9 kB / 2.236 GB, free: 79.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/5.973, allocations: 1.229 MB / 2.237 GB, free: 79.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.909e-05/5.973, allocations: 28.02 kB / 2.237 GB, free: 79.47 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005909/5.974, allocations: 0.8574 MB / 2.238 GB, free: 79.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/5.974, allocations: 225.7 kB / 2.238 GB, free: 79.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/5.974, allocations: 0 / 2.238 GB, free: 79.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.961e-05/5.974, allocations: 343 kB / 2.239 GB, free: 78.72 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003378/5.975, allocations: 252.5 kB / 2.239 GB, free: 78.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004942/5.975, allocations: 0.6509 MB / 2.239 GB, free: 78.21 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005716/5.981, allocations: 1.161 MB / 2.241 GB, free: 78.21 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/5.981, allocations: 4.625 kB / 2.241 GB, free: 78.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.006857/5.988, allocations: 1.787 MB / 2.242 GB, free: 78.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000791/5.989, allocations: 4.454 MB / 2.247 GB, free: 73.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/5.989, allocations: 11.78 kB / 2.247 GB, free: 73.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.054e-05/5.989, allocations: 19.5 kB / 2.247 GB, free: 73.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008737/5.99, allocations: 243.1 kB / 2.247 GB, free: 73.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/5.99, allocations: 23.41 kB / 2.247 GB, free: 73.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/5.991, allocations: 97.06 kB / 2.247 GB, free: 73.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.684e-05/5.991, allocations: 58.53 kB / 2.247 GB, free: 73.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/5.991, allocations: 4.969 kB / 2.247 GB, free: 73.39 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006358/5.997, allocations: 1.579 MB / 2.249 GB, free: 73.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/5.997, allocations: 9.594 kB / 2.249 GB, free: 73.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/5.998, allocations: 18.5 kB / 2.249 GB, free: 73.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000856/5.998, allocations: 241.9 kB / 2.249 GB, free: 73.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/5.998, allocations: 29.33 kB / 2.249 GB, free: 73.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/6, allocations: 88.89 kB / 2.249 GB, free: 73.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-05/6, allocations: 56.39 kB / 2.249 GB, free: 73.36 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.000295/6, allocations: 141.3 kB / 2.249 GB, free: 73.25 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006807/6.007, allocations: 1.455 MB / 2.251 GB, free: 73.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/6.007, allocations: 166 kB / 2.251 GB, free: 73.02 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006822/6.014, allocations: 1.683 MB / 2.252 GB, free: 72.93 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/6.014, allocations: 14.42 kB / 2.252 GB, free: 72.93 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/6.014, allocations: 0 / 2.252 GB, free: 72.93 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005612/6.02, allocations: 1.538 MB / 2.254 GB, free: 72.65 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.008956/6.029, allocations: 2.786 MB / 2.257 GB, free: 72.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/6.029, allocations: 2.406 kB / 2.257 GB, free: 72.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000668/6.029, allocations: 147.2 kB / 2.257 GB, free: 72.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001951/6.03, allocations: 27.94 kB / 2.257 GB, free: 72.32 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.399e-05/6.03, allocations: 18.5 kB / 2.257 GB, free: 72.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009305/6.031, allocations: 1.271 MB / 2.258 GB, free: 71.12 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/6.031, allocations: 2.438 kB / 2.258 GB, free: 71.12 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006713/6.037, allocations: 2.062 MB / 2.26 GB, free: 70.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007182/6.038, allocations: 329.8 kB / 2.26 GB, free: 70.62 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/6.038, allocations: 5.719 kB / 2.26 GB, free: 70.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000812/6.039, allocations: 78.02 kB / 2.26 GB, free: 70.62 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/6.039, allocations: 53.67 kB / 2.261 GB, free: 70.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-05/6.039, allocations: 35.19 kB / 2.261 GB, free: 70.61 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001549/6.041, allocations: 0.9059 MB / 2.261 GB, free: 70.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.91e-07/6.041, allocations: 3.844 kB / 2.261 GB, free: 70.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003843/6.045, allocations: 0.9635 MB / 2.262 GB, free: 70.34 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.00891/6.054, allocations: 3.839 MB / 2.266 GB, free: 69.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00185/6.056, allocations: 1.273 MB / 2.267 GB, free: 69 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/6.056, allocations: 4.25 kB / 2.267 GB, free: 68.99 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005662/6.056, allocations: 444 kB / 2.268 GB, free: 68.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002723/6.059, allocations: 0.6106 MB / 2.268 GB, free: 68.86 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005663/6.065, allocations: 2.687 MB / 2.271 GB, free: 67.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008391/6.065, allocations: 1.397 MB / 2.272 GB, free: 67.24 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002382/6.068, allocations: 0.5894 MB / 2.273 GB, free: 67.14 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007546/6.069, allocations: 0.6715 MB / 2.274 GB, free: 67.14 MB / 0.698 GB Notification: Performance of SimCode: time 1.312e-06/6.069, allocations: 0 / 2.274 GB, free: 67.14 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07844/6.147, allocations: 46.42 MB / 2.319 GB, free: 55.19 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/6.147, allocations: 166.2 kB / 2.319 GB, free: 54.99 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.888/10.04, allocations: 3.938 kB / 2.319 GB, free: 54.99 MB / 0.698 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)