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: translateModel(IDEAS.Fluid.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example") translateModel(IDEAS.Fluid.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002107/0.002107, 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.8382/0.8382, allocations: 133.6 MB / 141.6 MB, free: 2.906 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.503/1.503, allocations: 221.5 MB / 395.5 MB, free: 10.75 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.0008225/0.0008225, allocations: 102.4 kB / 478.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.688e-05/1.681e-05, allocations: 3.984 kB / 0.5534 GB, free: 9.059 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4831/0.4831, allocations: 82.31 MB / 0.6338 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8591/1.342, allocations: 345 MB / 0.9707 GB, free: 7.219 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/1.343, allocations: 89.2 kB / 0.9708 GB, free: 7.172 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.913/3.255, allocations: 433.6 MB / 1.394 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.685e-06/3.255, allocations: 2.625 kB / 1.394 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002569/3.256, allocations: 34.55 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.00477/3.26, allocations: 1.309 MB / 1.395 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.562e-05/3.26, allocations: 7.625 kB / 1.395 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002155/3.263, allocations: 340.3 kB / 1.396 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003861/3.266, allocations: 1.08 MB / 1.397 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.221e-05/3.267, allocations: 23.28 kB / 1.397 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00034/3.267, allocations: 46.5 kB / 1.397 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001692/3.269, allocations: 0.5591 MB / 1.397 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/3.271, allocations: 0.7896 MB / 1.398 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/3.271, allocations: 2.344 kB / 1.398 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/3.271, allocations: 0 / 1.398 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/3.271, allocations: 19.5 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.007433/3.278, allocations: 3.679 MB / 1.402 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008589/3.279, allocations: 403.8 kB / 1.402 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003883/3.279, allocations: 204.1 kB / 1.402 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001231/3.281, allocations: 0.9407 MB / 1.403 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006621/3.281, allocations: 315.5 kB / 1.404 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 4.458e-06/3.281, allocations: 0 / 1.404 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.002527/3.284, allocations: 0.6147 MB / 1.404 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.923e-05/3.284, allocations: 109.3 kB / 1.404 GB, free: 135 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/3.285, allocations: 0.5889 MB / 1.405 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.53e-05/3.285, allocations: 31.2 kB / 1.405 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005332/3.286, allocations: 490 kB / 1.405 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/3.286, allocations: 154.5 kB / 1.406 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/3.286, allocations: 0 / 1.406 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001372/3.286, allocations: 329.7 kB / 1.406 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003441/3.287, allocations: 177.3 kB / 1.406 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000477/3.287, allocations: 360.2 kB / 1.406 GB, free: 134 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/3.289, allocations: 370.2 kB / 1.407 GB, free: 134 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.016e-06/3.289, allocations: 0 / 1.407 GB, free: 134 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002329/3.291, allocations: 0.7526 MB / 1.408 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.484e-05/3.291, allocations: 33.17 kB / 1.408 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/3.291, allocations: 8.625 kB / 1.408 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.64e-05/3.291, allocations: 7.656 kB / 1.408 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009869/3.292, allocations: 207.2 kB / 1.408 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.288e-05/3.292, allocations: 14.36 kB / 1.408 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/3.294, allocations: 129 kB / 1.408 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/3.294, allocations: 39.55 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.0002185/3.294, allocations: 130.1 kB / 1.408 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/3.294, allocations: 82.97 kB / 1.408 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002222/3.296, allocations: 0.9025 MB / 1.409 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/3.296, allocations: 13.95 kB / 1.409 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/3.297, allocations: 3.938 kB / 1.409 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/3.297, allocations: 3.938 kB / 1.409 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003591/3.3, allocations: 1.865 MB / 1.411 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/3.3, allocations: 0 / 1.411 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008227/3.301, allocations: 168.3 kB / 1.411 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-05/3.301, allocations: 3.562 kB / 1.411 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-05/3.301, allocations: 11.08 kB / 1.411 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.538e-06/3.301, allocations: 13.92 kB / 1.411 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/3.301, allocations: 5.125 kB / 1.411 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/3.303, allocations: 1.24 MB / 1.412 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005426/3.304, allocations: 267.9 kB / 1.413 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/3.304, allocations: 3.688 kB / 1.413 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000975/3.305, allocations: 99.34 kB / 1.413 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/3.305, allocations: 57.89 kB / 1.413 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.611e-05/3.305, allocations: 22.45 kB / 1.413 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007336/3.306, allocations: 476.4 kB / 1.413 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/3.306, allocations: 3.719 kB / 1.413 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001769/3.308, allocations: 400 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.002649/3.31, allocations: 0.8411 MB / 1.414 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001201/3.312, allocations: 0.5693 MB / 1.415 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/3.312, allocations: 0 / 1.415 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005418/3.312, allocations: 296.4 kB / 1.415 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/3.314, allocations: 328.6 kB / 1.415 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003199/3.317, allocations: 1.258 MB / 1.417 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008344/3.318, allocations: 1.059 MB / 1.418 GB, free: 131 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000985/3.319, allocations: 184.2 kB / 1.418 GB, free: 131 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/3.32, allocations: 81.86 kB / 1.418 GB, free: 131 MB / 0.6823 GB Notification: Performance of SimCode: time 1.363e-06/3.32, allocations: 0 / 1.418 GB, free: 131 MB / 0.6823 GB Notification: Performance of Templates: time 0.03552/3.355, allocations: 16.68 MB / 1.434 GB, free: 130.2 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1)