Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.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.Taps.Examples.DHW_example,fileNamePrefix="IDEAS_IDEAS_Fluid_Taps_Examples_DHW_example",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.DHW_example,fileNamePrefix="IDEAS_IDEAS_Fluid_Taps_Examples_DHW_example",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.001205/0.001204, allocations: 173.9 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.8357/0.8357, allocations: 133.6 MB / 141.6 MB, free: 2.887 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.682/1.682, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.0009538/0.0009535, allocations: 98.02 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.57e-05/2.585e-05, allocations: 0 / 0.5535 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5488/0.5488, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9727/1.522, allocations: 344.9 MB / 0.9708 GB, free: 7.008 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/1.522, allocations: 95.31 kB / 0.9709 GB, free: 6.957 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.389/3.911, allocations: 433.6 MB / 1.394 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.775e-06/3.911, allocations: 2.906 kB / 1.394 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001907/3.911, allocations: 28.06 kB / 1.394 GB, free: 139.2 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.00351/3.915, allocations: 1.304 MB / 1.396 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/3.915, allocations: 10.91 kB / 1.396 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001875/3.917, allocations: 333.2 kB / 1.396 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002832/3.92, allocations: 1.086 MB / 1.397 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.168e-05/3.92, allocations: 29.31 kB / 1.397 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/3.92, allocations: 46.66 kB / 1.397 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001085/3.921, allocations: 0.5548 MB / 1.398 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/3.922, allocations: 0.7858 MB / 1.398 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/3.922, allocations: 3.938 kB / 1.398 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.681e-05/3.922, allocations: 3.906 kB / 1.398 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/3.922, allocations: 19.72 kB / 1.398 GB, free: 138.1 MB / 0.6823 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.004676/3.927, allocations: 3.674 MB / 1.402 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005534/3.927, allocations: 415.1 kB / 1.402 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/3.928, allocations: 201.1 kB / 1.403 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000783/3.929, allocations: 0.9435 MB / 1.403 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004559/3.929, allocations: 308.9 kB / 1.404 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 3.196e-06/3.929, allocations: 0 / 1.404 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.001833/3.931, allocations: 0.6158 MB / 1.404 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/3.931, allocations: 109.5 kB / 1.404 GB, free: 135 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000703/3.932, allocations: 0.591 MB / 1.405 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.941e-05/3.932, allocations: 31.89 kB / 1.405 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003099/3.932, allocations: 493.2 kB / 1.406 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/3.932, allocations: 154.9 kB / 1.406 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/3.932, allocations: 0 / 1.406 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.797e-05/3.932, allocations: 332.8 kB / 1.406 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/3.933, allocations: 178.7 kB / 1.406 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/3.933, allocations: 358.4 kB / 1.407 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/3.934, allocations: 369 kB / 1.407 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/3.934, allocations: 2.656 kB / 1.407 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001824/3.936, allocations: 0.7422 MB / 1.408 GB, free: 134 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.563e-05/3.936, allocations: 36.14 kB / 1.408 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/3.936, allocations: 3.906 kB / 1.408 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.93e-05/3.936, allocations: 7.094 kB / 1.408 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009194/3.937, allocations: 213.1 kB / 1.408 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/3.937, allocations: 10.81 kB / 1.408 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008953/3.938, allocations: 126.8 kB / 1.408 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.643e-05/3.938, allocations: 35.66 kB / 1.408 GB, free: 133.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mDHW60C.T_start,mDHW60C.T_start,$PRE.mDHW60C.count,mDHW60C.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * 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.0001577/3.938, allocations: 127.2 kB / 1.408 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001611/3.94, allocations: 0.6328 MB / 1.409 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/3.94, allocations: 81.88 kB / 1.409 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/3.942, allocations: 0.905 MB / 1.41 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/3.942, allocations: 11.06 kB / 1.41 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/3.942, allocations: 0 / 1.41 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/3.942, allocations: 7.5 kB / 1.41 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003275/3.945, allocations: 1.87 MB / 1.412 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/3.945, allocations: 6.719 kB / 1.412 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008245/3.946, allocations: 173.4 kB / 1.412 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-05/3.946, allocations: 3.875 kB / 1.412 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.048e-05/3.946, allocations: 14.78 kB / 1.412 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-06/3.946, allocations: 3.875 kB / 1.412 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/3.946, allocations: 1.594 kB / 1.412 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/3.948, allocations: 1.244 MB / 1.413 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005616/3.949, allocations: 262.1 kB / 1.413 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/3.949, allocations: 3.969 kB / 1.413 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008525/3.95, allocations: 103 kB / 1.413 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/3.95, allocations: 51.14 kB / 1.413 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.952e-05/3.95, allocations: 29.31 kB / 1.413 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006654/3.951, allocations: 477 kB / 1.414 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.374e-06/3.951, allocations: 0 / 1.414 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001461/3.952, allocations: 395.2 kB / 1.414 GB, free: 132.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (dHW_RealInput.THot.T,dHW_ProfileReader.THot.T) * Number of discrete variables: 3 ($whenCondition1,mDHW60C.T_start,mDHW60C.count) * Number of discrete states: 1 (mDHW60C.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003715/3.956, allocations: 2.87 MB / 1.417 GB, free: 131 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001036/3.957, allocations: 0.5645 MB / 1.418 GB, free: 131 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/3.957, allocations: 0 / 1.418 GB, free: 131 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004311/3.958, allocations: 300.1 kB / 1.418 GB, free: 131 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/3.959, allocations: 318.1 kB / 1.418 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/3.963, allocations: 1.497 MB / 1.42 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006288/3.963, allocations: 1.06 MB / 1.421 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009082/3.964, allocations: 179.9 kB / 1.421 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005855/3.965, allocations: 400.3 kB / 1.421 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of SimCode: time 7.72e-07/3.965, allocations: 0 / 1.421 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3699/4.335, allocations: 25.14 MB / 1.446 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000271/4.335, allocations: 150.5 kB / 1.446 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.255/7.59, allocations: 0 / 1.446 GB, free: 128.4 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; mkfifo IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe >> ../files/IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Taps_Examples_DHW_example_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Taps_Examples_DHW_example.fmu > IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1)