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.001568/0.001568, allocations: 174 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7472/0.7472, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.574/1.574, allocations: 221.3 MB / 400.4 MB, free: 5.797 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.001113/0.001114, allocations: 87.89 kB / 483.3 MB, free: 5.836 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.948e-05/3.95e-05, allocations: 3.125 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1763, allocations: 82.3 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.324/1.5, allocations: 415.1 MB / 1.046 GB, free: 206.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/1.5, allocations: 87.95 kB / 1.046 GB, free: 206.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.356/5.857, allocations: 1.183 GB / 2.229 GB, free: 65.53 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.024e-06/5.857, allocations: 0 / 2.229 GB, free: 65.53 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0005179/5.857, allocations: 52.09 kB / 2.229 GB, free: 65.48 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.008756/5.866, allocations: 2.036 MB / 2.231 GB, free: 63.42 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.53e-05/5.866, allocations: 11.28 kB / 2.231 GB, free: 63.41 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00108/5.867, allocations: 169 kB / 2.232 GB, free: 63.24 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003772/5.871, allocations: 450.7 kB / 2.232 GB, free: 62.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009317/5.881, allocations: 2.267 MB / 2.234 GB, free: 60.56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/5.881, allocations: 90.2 kB / 2.234 GB, free: 60.47 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004953/5.881, allocations: 126.9 kB / 2.234 GB, free: 60.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002962/5.884, allocations: 1.211 MB / 2.236 GB, free: 59.04 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.828e-05/5.884, allocations: 3.938 kB / 2.236 GB, free: 59.04 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001589/5.884, allocations: 50.27 kB / 2.236 GB, free: 58.99 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.943e-05/5.884, allocations: 50.02 kB / 2.236 GB, free: 58.94 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001678/5.886, allocations: 0.8384 MB / 2.237 GB, free: 58.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.009761/5.896, allocations: 6.922 MB / 2.243 GB, free: 50.69 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/5.897, allocations: 1.133 MB / 2.244 GB, free: 49.44 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004699/5.898, allocations: 326.2 kB / 2.245 GB, free: 49.12 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00511/5.903, allocations: 3.023 MB / 2.248 GB, free: 45.78 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005514/5.903, allocations: 355 kB / 2.248 GB, free: 45.42 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007552/5.904, allocations: 91.3 kB / 2.248 GB, free: 45.33 MB / 0.698 GB Notification: Performance of pre-optimization done (n=62): time 4.639e-06/5.904, allocations: 0 / 2.248 GB, free: 45.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=62): time 0.001374/5.905, allocations: 0.6775 MB / 2.249 GB, free: 44.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/5.905, allocations: 115.4 kB / 2.249 GB, free: 44.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002314/5.908, allocations: 1.317 MB / 2.25 GB, free: 43.19 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.711e-05/5.908, allocations: 45.7 kB / 2.25 GB, free: 43.14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006826/5.909, allocations: 0.8777 MB / 2.251 GB, free: 42.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/5.909, allocations: 222.8 kB / 2.251 GB, free: 42.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.891e-05/5.909, allocations: 16 kB / 2.251 GB, free: 42.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.311e-05/5.909, allocations: 341.9 kB / 2.252 GB, free: 41.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003985/5.909, allocations: 257.9 kB / 2.252 GB, free: 41.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005711/5.91, allocations: 0.6703 MB / 2.252 GB, free: 40.57 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005628/5.91, allocations: 389.9 kB / 2.253 GB, free: 40.19 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/5.911, allocations: 4 kB / 2.253 GB, free: 40.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001642/5.912, allocations: 1.07 MB / 2.254 GB, free: 39.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009115/5.913, allocations: 4.447 MB / 2.258 GB, free: 34.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/5.913, allocations: 15.98 kB / 2.258 GB, free: 34.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.292e-05/5.913, allocations: 16 kB / 2.258 GB, free: 34.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000914/5.914, allocations: 247.6 kB / 2.259 GB, free: 34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.75e-05/5.914, allocations: 19.94 kB / 2.259 GB, free: 33.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/5.915, allocations: 127.6 kB / 2.259 GB, free: 33.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/5.916, allocations: 55.98 kB / 2.259 GB, free: 33.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/5.916, allocations: 5.094 kB / 2.259 GB, free: 33.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001294/5.917, allocations: 0.9036 MB / 2.26 GB, free: 32.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/5.917, allocations: 8 kB / 2.26 GB, free: 32.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/5.917, allocations: 20 kB / 2.26 GB, free: 32.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008244/5.918, allocations: 244.1 kB / 2.26 GB, free: 32.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.006e-05/5.918, allocations: 23.92 kB / 2.26 GB, free: 32.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/5.919, allocations: 111.8 kB / 2.26 GB, free: 32.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/5.919, allocations: 51.98 kB / 2.26 GB, free: 32.44 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.0002085/5.919, allocations: 168.7 kB / 2.26 GB, free: 32.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002879/5.92, allocations: 173.7 kB / 2.26 GB, free: 32.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001786/5.922, allocations: 0.9529 MB / 2.261 GB, free: 31.13 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/5.922, allocations: 11.98 kB / 2.261 GB, free: 31.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/5.922, allocations: 0 / 2.261 GB, free: 31.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009054/5.923, allocations: 0.7936 MB / 2.262 GB, free: 30.28 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.003685/5.926, allocations: 2.194 MB / 2.264 GB, free: 28.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.922e-06/5.926, allocations: 0 / 2.264 GB, free: 28.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006452/5.927, allocations: 143.1 kB / 2.264 GB, free: 27.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001752/5.927, allocations: 32.8 kB / 2.264 GB, free: 27.86 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.803e-05/5.927, allocations: 19.98 kB / 2.264 GB, free: 27.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008155/5.928, allocations: 1.307 MB / 2.266 GB, free: 26.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/5.928, allocations: 0 / 2.266 GB, free: 26.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/5.93, allocations: 1.321 MB / 2.267 GB, free: 25.03 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006609/5.93, allocations: 350.6 kB / 2.267 GB, free: 24.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003679/5.931, allocations: 12 kB / 2.267 GB, free: 24.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/5.932, allocations: 99.91 kB / 2.267 GB, free: 24.56 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/5.932, allocations: 60.34 kB / 2.267 GB, free: 24.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.932e-05/5.932, allocations: 31.98 kB / 2.268 GB, free: 24.47 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001429/5.933, allocations: 1.07 MB / 2.269 GB, free: 23.37 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.9e-07/5.933, allocations: 0 / 2.269 GB, free: 23.37 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003498/5.937, allocations: 0.9816 MB / 2.27 GB, free: 22.39 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.004655/5.941, allocations: 3.155 MB / 2.273 GB, free: 19.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002032/5.944, allocations: 1.357 MB / 2.274 GB, free: 18.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/5.944, allocations: 5.812 kB / 2.274 GB, free: 18.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006468/5.944, allocations: 458 kB / 2.274 GB, free: 17.63 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003472/5.948, allocations: 0.711 MB / 2.275 GB, free: 16.94 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006093/5.954, allocations: 2.768 MB / 2.278 GB, free: 14.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009041/5.955, allocations: 1.395 MB / 2.279 GB, free: 12.72 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002607/5.957, allocations: 0.5954 MB / 2.28 GB, free: 12.17 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007541/5.958, allocations: 0.6866 MB / 2.28 GB, free: 11.48 MB / 0.698 GB Notification: Performance of SimCode: time 1.202e-06/5.958, allocations: 0 / 2.28 GB, free: 11.48 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5677/6.526, allocations: 56.11 MB / 2.335 GB, free: 96.46 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/6.526, allocations: 205 kB / 2.335 GB, free: 96.24 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.226/10.75, allocations: 0 / 2.335 GB, free: 96.24 MB / 0.7136 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)