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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 112.1 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.237/1.237, allocations: 173.4 MB / 471.3 MB, free: 6.602 MB / 366.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap") translateModel(IDEAS.Fluid.Taps.Examples.Tap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 66.77 kB / 0.649 GB, free: 22.85 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2075, allocations: 89.52 MB / 0.7364 GB, free: 3.641 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.04729/0.2548, allocations: 43.39 MB / 0.7788 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01153/0.2664, allocations: 7.312 MB / 0.7859 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/0.2682, allocations: 39.75 kB / 0.7859 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001454/0.2697, allocations: 492.3 kB / 0.7864 GB, free: 252 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004407/0.2741, allocations: 1.403 MB / 0.7878 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002815/0.277, allocations: 1.053 MB / 0.7888 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003726/0.2807, allocations: 2.518 MB / 0.7913 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.2822, allocations: 0.867 MB / 0.7921 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003316/0.2855, allocations: 1.401 MB / 0.7935 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001156/0.2867, allocations: 0.6688 MB / 0.7941 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001581/0.2869, allocations: 84 kB / 0.7942 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.2889, allocations: 0.8072 MB / 0.795 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002945/0.2892, allocations: 227.1 kB / 0.7952 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006674/0.2898, allocations: 0.5131 MB / 0.7957 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002548/0.2924, allocations: 1.553 MB / 0.7972 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2924, allocations: 0 / 0.7972 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.674e-06/0.2924, allocations: 3.938 kB / 0.7972 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.956e-05/0.2925, allocations: 3.938 kB / 0.7973 GB, free: 5.105 MB / 0.6075 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.00234/0.2948, allocations: 1.392 MB / 0.7986 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.2949, allocations: 12.03 kB / 0.7986 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002425/0.2951, allocations: 120.2 kB / 0.7987 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.2964, allocations: 0.7572 MB / 0.7995 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.247e-05/0.2964, allocations: 58 kB / 0.7995 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.2966, allocations: 68 kB / 0.7996 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.2981, allocations: 0.8378 MB / 0.8004 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.2982, allocations: 4 kB / 0.8004 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.411e-05/0.2982, allocations: 28 kB / 0.8004 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.2982, allocations: 16 kB / 0.8005 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.2996, allocations: 0.5904 MB / 0.801 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00428/0.3039, allocations: 3.989 MB / 0.8049 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.3051, allocations: 382.4 kB / 0.8053 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005497/0.3057, allocations: 232.5 kB / 0.8055 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/0.3068, allocations: 1.31 MB / 0.8068 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007275/0.3075, allocations: 293.8 kB / 0.8071 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=39): time 2.134e-06/0.3075, allocations: 0 / 0.8071 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39): time 0.00195/0.3095, allocations: 0.7048 MB / 0.8078 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.3096, allocations: 59.41 kB / 0.8078 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009373/0.3105, allocations: 0.7277 MB / 0.8085 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.495e-05/0.3106, allocations: 37.7 kB / 0.8086 GB, free: 8.723 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000405/0.311, allocations: 460.5 kB / 0.809 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.3111, allocations: 134.9 kB / 0.8091 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.3113, allocations: 138.1 kB / 0.8093 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3115, allocations: 330 kB / 0.8096 GB, free: 7.664 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000578/0.3121, allocations: 213 kB / 0.8098 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007914/0.3129, allocations: 423.7 kB / 0.8102 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/0.3142, allocations: 0.6546 MB / 0.8108 GB, free: 6.215 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.3142, allocations: 0 / 0.8108 GB, free: 6.215 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001715/0.3159, allocations: 0.7711 MB / 0.8116 GB, free: 5.426 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.81e-05/0.316, allocations: 63.39 kB / 0.8116 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/0.316, allocations: 11.94 kB / 0.8117 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-05/0.3161, allocations: 8 kB / 0.8117 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005037/0.3166, allocations: 136.2 kB / 0.8118 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/0.3166, allocations: 15.94 kB / 0.8118 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006859/0.3173, allocations: 111.3 kB / 0.8119 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.803e-05/0.3174, allocations: 39.97 kB / 0.812 GB, free: 5.035 MB / 0.6231 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.000413/0.3178, allocations: 237.7 kB / 0.8122 GB, free: 4.793 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.318, allocations: 91.41 kB / 0.8123 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.3203, allocations: 1.115 MB / 0.8134 GB, free: 3.586 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.502e-05/0.3203, allocations: 7.984 kB / 0.8134 GB, free: 3.578 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3204, allocations: 7.938 kB / 0.8134 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.3204, allocations: 3.984 kB / 0.8134 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003242/0.3236, allocations: 1.917 MB / 0.8152 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/0.3237, allocations: 4 kB / 0.8153 GB, free: 1.547 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004099/0.3241, allocations: 103.8 kB / 0.8153 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/0.3241, allocations: 4 kB / 0.8154 GB, free: 1.441 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.622e-05/0.3241, allocations: 27.97 kB / 0.8154 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.149e-05/0.3242, allocations: 4.375 kB / 0.8154 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.313e-06/0.3242, allocations: 11.94 kB / 0.8154 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002677/0.3269, allocations: 1.403 MB / 0.8168 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003706/0.3273, allocations: 268.1 kB / 0.817 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.3274, allocations: 12 kB / 0.817 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004804/0.3278, allocations: 60 kB / 0.8171 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.328, allocations: 72.36 kB / 0.8172 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.206e-05/0.3281, allocations: 31.97 kB / 0.8172 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006973/0.3288, allocations: 499 kB / 0.8177 GB, free: 15 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3288, allocations: 0 / 0.8177 GB, free: 15 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001143/0.33, allocations: 343.1 kB / 0.818 GB, free: 14.67 MB / 0.6387 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.0009255/0.3309, allocations: 426.4 kB / 0.8184 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001737/0.3326, allocations: 0.7673 MB / 0.8191 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3327, allocations: 0 / 0.8191 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009285/0.3336, allocations: 448.8 kB / 0.8196 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/0.3354, allocations: 364 kB / 0.8199 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/0.3383, allocations: 1.676 MB / 0.8216 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006845/0.339, allocations: 1.018 MB / 0.8226 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002526/0.3392, allocations: 83.39 kB / 0.8226 GB, free: 9.797 MB / 0.6387 GB Notification: Performance of SimCode: time 1.282e-06/0.3392, allocations: 0 / 0.8226 GB, free: 9.797 MB / 0.6387 GB Notification: Performance of Templates: time 0.02865/0.3679, allocations: 16.45 MB / 0.8387 GB, free: 9.473 MB / 0.6544 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.864712313050404] Failed to read output from testmodel.py, exit status != 0: 0.3748357240110636 0.38843057200000003 0.09335736900000001 Calling exit ...