Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Taps.Examples.Tap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap") translateModel(IDEAS.Fluid.Taps.Examples.Tap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005708/0.005709, allocations: 100.7 kB / 15.73 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 195.7 kB / 16.67 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9264/0.9264, allocations: 135.6 MB / 426.1 MB, free: 3.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002767/0.002767, allocations: 66.73 kB / 0.5862 GB, free: 21.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1846, allocations: 81.03 MB / 0.6653 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.05098/0.2357, allocations: 43.33 MB / 0.7076 GB, free: 9.668 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01238/0.2481, allocations: 7.313 MB / 0.7148 GB, free: 2.336 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001788/0.2499, allocations: 39.75 kB / 0.7148 GB, free: 2.297 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001566/0.2515, allocations: 488.3 kB / 0.7153 GB, free: 1.816 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004276/0.2558, allocations: 1.423 MB / 0.7167 GB, free: 396 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002873/0.2587, allocations: 1.056 MB / 0.7177 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004145/0.2629, allocations: 2.541 MB / 0.7202 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/0.2644, allocations: 0.8784 MB / 0.7211 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003022/0.2674, allocations: 1.229 MB / 0.7223 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.2685, allocations: 0.6882 MB / 0.7229 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.2686, allocations: 84 kB / 0.723 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001954/0.2706, allocations: 0.8188 MB / 0.7238 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000259/0.2709, allocations: 223.2 kB / 0.724 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005999/0.2715, allocations: 0.5053 MB / 0.7245 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002472/0.274, allocations: 1.584 MB / 0.7261 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.274, allocations: 0 / 0.7261 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.805e-06/0.274, allocations: 0 / 0.7261 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.274, allocations: 0 / 0.7261 GB, free: 6.754 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.002231/0.2762, allocations: 1.4 MB / 0.7274 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.2763, allocations: 9.109 kB / 0.7274 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002243/0.2765, allocations: 120.2 kB / 0.7276 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.2778, allocations: 0.7612 MB / 0.7283 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.507e-05/0.2778, allocations: 61.98 kB / 0.7284 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.2779, allocations: 68 kB / 0.7284 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.2795, allocations: 0.8378 MB / 0.7292 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.2795, allocations: 7.938 kB / 0.7292 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-05/0.2796, allocations: 31.94 kB / 0.7293 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.2796, allocations: 16 kB / 0.7293 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.281, allocations: 0.5904 MB / 0.7299 GB, free: 2.688 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.004341/0.2854, allocations: 3.989 MB / 0.7338 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.2866, allocations: 378.5 kB / 0.7341 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005543/0.2872, allocations: 232.7 kB / 0.7343 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001136/0.2883, allocations: 1.31 MB / 0.7356 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007458/0.2891, allocations: 297.7 kB / 0.7359 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=39): time 2.194e-06/0.2891, allocations: 0 / 0.7359 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.001997/0.2911, allocations: 0.7009 MB / 0.7366 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.2912, allocations: 67.41 kB / 0.7367 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.2922, allocations: 0.716 MB / 0.7374 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.263e-05/0.2923, allocations: 37.7 kB / 0.7374 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004534/0.2927, allocations: 464.4 kB / 0.7378 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.2929, allocations: 138.8 kB / 0.738 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002495/0.2932, allocations: 130.2 kB / 0.7381 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.2933, allocations: 333.9 kB / 0.7384 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005895/0.2939, allocations: 213 kB / 0.7386 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008325/0.2948, allocations: 423.8 kB / 0.739 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.2962, allocations: 0.6508 MB / 0.7397 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.2962, allocations: 0 / 0.7397 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0019/0.2981, allocations: 0.79 MB / 0.7404 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.764e-05/0.2982, allocations: 59.41 kB / 0.7405 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.851e-05/0.2982, allocations: 11.94 kB / 0.7405 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.524e-05/0.2982, allocations: 8.75 kB / 0.7405 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005057/0.2988, allocations: 135.8 kB / 0.7406 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.48e-05/0.2988, allocations: 15.92 kB / 0.7406 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007607/0.2996, allocations: 103.5 kB / 0.7407 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.626e-05/0.2997, allocations: 35.98 kB / 0.7408 GB, free: 6.68 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 13 (m_flow_set2.count,$PRE.m_flow_set2.count,m_flow_set2.T_start,$PRE.m_flow_set2.T_start,tap2.DHWCom,tap1.DHWCom,m_flow_set1.count,$PRE.m_flow_set1.count,m_flow_set1.T_start,$PRE.m_flow_set1.T_start,$whenCondition1,$whenCondition2,DHWDisCom1_Kh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000465/0.3001, allocations: 250.2 kB / 0.741 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/0.3003, allocations: 91.44 kB / 0.7411 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002453/0.3028, allocations: 1.112 MB / 0.7422 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.719e-05/0.3028, allocations: 11.98 kB / 0.7422 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.3029, allocations: 0 / 0.7422 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.3029, allocations: 3.984 kB / 0.7422 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003515/0.3064, allocations: 1.921 MB / 0.7441 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.3064, allocations: 4 kB / 0.7441 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004226/0.3068, allocations: 99.86 kB / 0.7442 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.3069, allocations: 4.375 kB / 0.7442 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-05/0.3069, allocations: 27.98 kB / 0.7442 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.838e-06/0.3069, allocations: 4 kB / 0.7442 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.219e-05/0.307, allocations: 15.88 kB / 0.7442 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002743/0.3097, allocations: 1.403 MB / 0.7456 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004837/0.3102, allocations: 264.1 kB / 0.7459 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/0.3104, allocations: 12 kB / 0.7459 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006005/0.311, allocations: 60 kB / 0.7459 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/0.3112, allocations: 80.33 kB / 0.746 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.089e-05/0.3113, allocations: 27.98 kB / 0.746 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008312/0.3122, allocations: 0.4951 MB / 0.7465 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.3122, allocations: 4 kB / 0.7465 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001386/0.3136, allocations: 339.1 kB / 0.7468 GB, free: 300 kB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 1 (DHWDisCom1_Kh.y) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,m_flow_set1.T_start,m_flow_set1.count,tap1.DHWCom,tap2.DHWCom,m_flow_set2.T_start,m_flow_set2.count) * Number of discrete states: 2 (m_flow_set2.count,m_flow_set1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3773/0.6908, allocations: 404.7 kB / 0.7472 GB, free: 80.25 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002392/0.6933, allocations: 0.7633 MB / 0.748 GB, free: 80.12 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/0.6933, allocations: 3.812 kB / 0.748 GB, free: 80.12 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001161/0.6945, allocations: 466.8 kB / 0.7484 GB, free: 80.11 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002522/0.697, allocations: 379.2 kB / 0.7488 GB, free: 80.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003524/0.7005, allocations: 1.624 MB / 0.7504 GB, free: 79.37 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007967/0.7014, allocations: 1.021 MB / 0.7514 GB, free: 78.66 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008735/0.7022, allocations: 172.5 kB / 0.7515 GB, free: 78.64 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/0.7025, allocations: 84.38 kB / 0.7516 GB, free: 78.63 MB / 0.5762 GB Notification: Performance of SimCode: time 1.523e-06/0.7025, allocations: 0 / 0.7516 GB, free: 78.63 MB / 0.5762 GB Notification: Performance of Templates: time 0.04584/0.7483, allocations: 18.57 MB / 0.7697 GB, free: 72.7 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.sim & ./IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe 2>&1)