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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.002469/0.002469, allocations: 180.9 kB / 7.651 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.8675/0.8675, allocations: 133.6 MB / 141.6 MB, free: 2.938 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.572/1.572, allocations: 221.5 MB / 395.5 MB, free: 10.73 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.0009748/0.0009748, allocations: 95.22 kB / 478.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.478e-05/4.48e-05, allocations: 4 kB / 0.5535 GB, free: 8.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6516/0.6517, allocations: 82.31 MB / 0.6339 GB, free: 40.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9247/1.576, allocations: 414.4 MB / 1.039 GB, free: 3.52 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/1.577, allocations: 99.47 kB / 1.039 GB, free: 3.469 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.192/6.768, allocations: 1.178 GB / 2.216 GB, free: 88.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.615e-06/6.769, allocations: 0 / 2.216 GB, free: 88.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004127/6.769, allocations: 46.22 kB / 2.216 GB, free: 88.84 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.006655/6.776, allocations: 2.039 MB / 2.218 GB, free: 87.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/6.776, allocations: 11.72 kB / 2.218 GB, free: 87.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002796/6.778, allocations: 456.6 kB / 2.219 GB, free: 87.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007821/6.786, allocations: 2.26 MB / 2.221 GB, free: 87.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/6.786, allocations: 41.09 kB / 2.221 GB, free: 87.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005227/6.787, allocations: 75.44 kB / 2.221 GB, free: 87.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002297/6.789, allocations: 0.775 MB / 2.222 GB, free: 87.36 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002476/6.792, allocations: 1.061 MB / 2.223 GB, free: 87.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.472e-05/6.792, allocations: 5.969 kB / 2.223 GB, free: 87.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/6.792, allocations: 3.562 kB / 2.223 GB, free: 87.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-05/6.792, allocations: 42.88 kB / 2.223 GB, free: 87.09 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.01035/6.802, allocations: 6.725 MB / 2.23 GB, free: 83.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/6.804, allocations: 1.139 MB / 2.231 GB, free: 82.43 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005072/6.804, allocations: 315.8 kB / 2.231 GB, free: 82.42 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00602/6.81, allocations: 2.993 MB / 2.234 GB, free: 80.49 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005808/6.811, allocations: 333 kB / 2.234 GB, free: 80.44 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001029/6.812, allocations: 74.53 kB / 2.234 GB, free: 80.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=62): time 4.659e-06/6.812, allocations: 1.594 kB / 2.234 GB, free: 80.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=62): time 0.007336/6.819, allocations: 1.487 MB / 2.236 GB, free: 80.26 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/6.819, allocations: 110.2 kB / 2.236 GB, free: 80.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003281/6.823, allocations: 1.227 MB / 2.237 GB, free: 79.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001498/6.823, allocations: 25.7 kB / 2.237 GB, free: 79.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00108/6.824, allocations: 0.8617 MB / 2.238 GB, free: 79.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/6.824, allocations: 222.7 kB / 2.238 GB, free: 79.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.436e-05/6.824, allocations: 0 / 2.238 GB, free: 79.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001096/6.824, allocations: 338.6 kB / 2.239 GB, free: 79.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004583/6.825, allocations: 252.1 kB / 2.239 GB, free: 79.17 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006827/6.826, allocations: 0.6578 MB / 2.239 GB, free: 78.67 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006385/6.832, allocations: 1.162 MB / 2.241 GB, free: 78.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.688e-05/6.832, allocations: 5.844 kB / 2.241 GB, free: 78.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.008337/6.84, allocations: 1.794 MB / 2.242 GB, free: 78.53 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001311/6.842, allocations: 4.444 MB / 2.247 GB, free: 73.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.913e-05/6.842, allocations: 11.69 kB / 2.247 GB, free: 73.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.977e-05/6.842, allocations: 16.84 kB / 2.247 GB, free: 73.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/6.843, allocations: 246.7 kB / 2.247 GB, free: 73.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-05/6.843, allocations: 22.33 kB / 2.247 GB, free: 73.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/6.845, allocations: 97.72 kB / 2.247 GB, free: 73.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002122/6.845, allocations: 62.56 kB / 2.247 GB, free: 73.85 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/6.845, allocations: 5.25 kB / 2.247 GB, free: 73.85 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007345/6.853, allocations: 1.576 MB / 2.249 GB, free: 73.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-05/6.853, allocations: 13.28 kB / 2.249 GB, free: 73.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-05/6.853, allocations: 17.59 kB / 2.249 GB, free: 73.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/6.854, allocations: 242.8 kB / 2.249 GB, free: 73.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-05/6.854, allocations: 26.72 kB / 2.249 GB, free: 73.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/6.855, allocations: 90.47 kB / 2.249 GB, free: 73.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001854/6.856, allocations: 53.47 kB / 2.249 GB, free: 73.82 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.0003852/6.856, allocations: 144.8 kB / 2.249 GB, free: 73.71 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007338/6.863, allocations: 1.451 MB / 2.251 GB, free: 73.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000641/6.864, allocations: 169.1 kB / 2.251 GB, free: 73.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00755/6.872, allocations: 1.689 MB / 2.252 GB, free: 73.38 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-05/6.872, allocations: 10.62 kB / 2.252 GB, free: 73.38 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/6.872, allocations: 0 / 2.252 GB, free: 73.38 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006542/6.878, allocations: 1.536 MB / 2.254 GB, free: 73.11 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.01112/6.889, allocations: 2.789 MB / 2.257 GB, free: 72.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/6.889, allocations: 0 / 2.257 GB, free: 72.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007681/6.89, allocations: 140.7 kB / 2.257 GB, free: 72.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000232/6.891, allocations: 36.55 kB / 2.257 GB, free: 72.78 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.904e-05/6.891, allocations: 17 kB / 2.257 GB, free: 72.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/6.892, allocations: 1.268 MB / 2.258 GB, free: 71.58 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/6.892, allocations: 1.406 kB / 2.258 GB, free: 71.58 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008494/6.9, allocations: 2.07 MB / 2.26 GB, free: 71.26 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/6.902, allocations: 333.2 kB / 2.26 GB, free: 71.08 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006838/6.902, allocations: 3.188 kB / 2.26 GB, free: 71.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/6.904, allocations: 77.3 kB / 2.26 GB, free: 71.07 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/6.904, allocations: 55.2 kB / 2.261 GB, free: 71.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/6.904, allocations: 28.84 kB / 2.261 GB, free: 71.07 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002551/6.907, allocations: 0.916 MB / 2.261 GB, free: 70.96 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.9e-07/6.907, allocations: 0 / 2.261 GB, free: 70.96 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006861/6.914, allocations: 0.9599 MB / 2.262 GB, free: 70.8 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.01707/6.931, allocations: 3.837 MB / 2.266 GB, free: 69.58 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003081/6.934, allocations: 1.275 MB / 2.267 GB, free: 69.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/6.934, allocations: 2.656 kB / 2.267 GB, free: 69.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008465/6.935, allocations: 440.4 kB / 2.268 GB, free: 69.33 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003966/6.939, allocations: 0.6141 MB / 2.268 GB, free: 69.29 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00853/6.948, allocations: 2.678 MB / 2.271 GB, free: 68.42 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001286/6.949, allocations: 1.399 MB / 2.272 GB, free: 67.68 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003624/6.953, allocations: 0.584 MB / 2.273 GB, free: 67.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/6.954, allocations: 0.6689 MB / 2.274 GB, free: 67.58 MB / 0.698 GB Notification: Performance of SimCode: time 9.12e-07/6.954, allocations: 2.062 kB / 2.274 GB, free: 67.58 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0984/7.052, allocations: 46.44 MB / 2.319 GB, free: 55.02 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000255/7.052, allocations: 167.1 kB / 2.319 GB, free: 54.82 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.138/11.19, allocations: 0 / 2.319 GB, free: 54.82 MB / 0.698 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/linux/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)