Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Taps_Examples_DHW_example",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.DHW_example,fileNamePrefix="IDEAS_dev_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.001347/0.001347, 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.8156/0.8156, allocations: 133.6 MB / 141.6 MB, free: 2.863 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.614/1.614, allocations: 221.5 MB / 395.4 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.001064/0.001065, allocations: 106.9 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.62e-05/2.636e-05, allocations: 7.984 kB / 0.5535 GB, free: 8.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5657/0.5657, allocations: 82.29 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9721/1.538, allocations: 344.9 MB / 0.9708 GB, free: 7.102 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000358/1.538, allocations: 87.02 kB / 0.9709 GB, free: 7.059 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.159/3.697, allocations: 433.6 MB / 1.394 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.963e-06/3.697, allocations: 0 / 1.394 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002191/3.697, allocations: 31.33 kB / 1.394 GB, free: 139.3 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.004325/3.702, allocations: 1.303 MB / 1.396 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.541e-05/3.702, allocations: 14.48 kB / 1.396 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002029/3.704, allocations: 332.5 kB / 1.396 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003136/3.707, allocations: 1.083 MB / 1.397 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.371e-05/3.707, allocations: 30.34 kB / 1.397 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002623/3.707, allocations: 45.47 kB / 1.397 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001504/3.709, allocations: 0.5556 MB / 1.398 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/3.711, allocations: 0.7864 MB / 1.398 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.374e-05/3.711, allocations: 7.594 kB / 1.398 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-05/3.711, allocations: 3.812 kB / 1.398 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/3.711, allocations: 17.06 kB / 1.398 GB, free: 138.2 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.006769/3.718, allocations: 3.679 MB / 1.402 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007169/3.718, allocations: 410 kB / 1.402 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003927/3.719, allocations: 204.4 kB / 1.403 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009941/3.72, allocations: 0.9374 MB / 1.403 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005664/3.72, allocations: 313.3 kB / 1.404 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 4.308e-06/3.72, allocations: 0 / 1.404 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.002328/3.723, allocations: 0.6123 MB / 1.404 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/3.723, allocations: 110.6 kB / 1.404 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008775/3.724, allocations: 0.5892 MB / 1.405 GB, free: 135 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.538e-05/3.724, allocations: 32.05 kB / 1.405 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003858/3.724, allocations: 493.5 kB / 1.406 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/3.724, allocations: 159.6 kB / 1.406 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/3.724, allocations: 0 / 1.406 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001131/3.725, allocations: 329.9 kB / 1.406 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000315/3.725, allocations: 178.4 kB / 1.406 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004052/3.725, allocations: 352.7 kB / 1.407 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/3.727, allocations: 378.5 kB / 1.407 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/3.727, allocations: 0 / 1.407 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001882/3.729, allocations: 0.7443 MB / 1.408 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.639e-05/3.729, allocations: 33.27 kB / 1.408 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/3.729, allocations: 7.031 kB / 1.408 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.899e-05/3.729, allocations: 14.03 kB / 1.408 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009002/3.73, allocations: 208.6 kB / 1.408 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.579e-05/3.73, allocations: 15.8 kB / 1.408 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009272/3.731, allocations: 124.3 kB / 1.408 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.234e-05/3.731, allocations: 33.67 kB / 1.408 GB, free: 134 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.0001619/3.731, allocations: 131.4 kB / 1.408 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00161/3.732, allocations: 0.6261 MB / 1.409 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/3.733, allocations: 84.5 kB / 1.409 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001899/3.734, allocations: 0.9098 MB / 1.41 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/3.734, allocations: 10.7 kB / 1.41 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/3.734, allocations: 0 / 1.41 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/3.734, allocations: 9.578 kB / 1.41 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002919/3.737, allocations: 1.863 MB / 1.412 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/3.737, allocations: 3.688 kB / 1.412 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007614/3.738, allocations: 163.9 kB / 1.412 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.353e-06/3.738, allocations: 3.156 kB / 1.412 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.697e-05/3.738, allocations: 21.17 kB / 1.412 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/3.738, allocations: 2.906 kB / 1.412 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/3.738, allocations: 3.812 kB / 1.412 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/3.74, allocations: 1.238 MB / 1.413 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003876/3.741, allocations: 269.6 kB / 1.413 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/3.741, allocations: 9.656 kB / 1.413 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007982/3.742, allocations: 96.61 kB / 1.413 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/3.742, allocations: 55.02 kB / 1.413 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.074e-05/3.742, allocations: 25.83 kB / 1.413 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005799/3.742, allocations: 477.1 kB / 1.414 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/3.742, allocations: 3.281 kB / 1.414 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001371/3.744, allocations: 391.8 kB / 1.414 GB, free: 132.4 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.003905/3.748, allocations: 2.872 MB / 1.417 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009737/3.749, allocations: 0.5678 MB / 1.418 GB, free: 131 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/3.749, allocations: 0 / 1.418 GB, free: 131 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004296/3.749, allocations: 296.2 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.00161/3.751, allocations: 332.2 kB / 1.418 GB, free: 131 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/3.754, allocations: 1.49 MB / 1.42 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005679/3.754, allocations: 1.062 MB / 1.421 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007477/3.755, allocations: 178.3 kB / 1.421 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005495/3.756, allocations: 399.8 kB / 1.421 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of SimCode: time 2.9e-07/3.756, allocations: 0 / 1.421 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3441/4.1, allocations: 25.15 MB / 1.446 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002379/4.1, allocations: 152.7 kB / 1.446 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.27/7.37, allocations: 0 / 1.446 GB, free: 128.5 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Taps_Examples_DHW_example_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Taps_Examples_DHW_example.fmu > IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1)