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/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.001292/0.001293, allocations: 115.5 kB / 17.08 MB, free: 5.977 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.001339/0.001339, allocations: 193.2 kB / 20.03 MB, free: 3.047 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.437/1.437, allocations: 222.9 MB / 245.7 MB, free: 4.223 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.182/1.182, allocations: 173.4 MB / 471.3 MB, free: 6.656 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.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example") translateModel(IDEAS.Fluid.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 66.95 kB / 0.649 GB, free: 22.87 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.185, allocations: 89.53 MB / 0.7364 GB, free: 3.625 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.04759/0.2326, allocations: 42.03 MB / 0.7774 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0172/0.2499, allocations: 10.96 MB / 0.7881 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002195/0.2521, allocations: 55.69 kB / 0.7882 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.2538, allocations: 0.5625 MB / 0.7888 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004283/0.2582, allocations: 1.399 MB / 0.7901 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003501/0.2617, allocations: 1.296 MB / 0.7914 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004263/0.266, allocations: 2.67 MB / 0.794 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001783/0.2678, allocations: 1.081 MB / 0.795 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003429/0.2712, allocations: 1.212 MB / 0.7962 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.2726, allocations: 0.8011 MB / 0.797 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002069/0.2729, allocations: 112 kB / 0.7971 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001897/0.2748, allocations: 0.6827 MB / 0.7978 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003182/0.2751, allocations: 271 kB / 0.798 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007877/0.2759, allocations: 0.6103 MB / 0.7986 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003249/0.2791, allocations: 1.861 MB / 0.8005 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2792, allocations: 4 kB / 0.8005 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2792, allocations: 0 / 0.8005 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.648e-05/0.2792, allocations: 0 / 0.8005 GB, free: 1.793 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002655/0.2819, allocations: 1.544 MB / 0.802 GB, free: 192 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.2819, allocations: 8.031 kB / 0.802 GB, free: 184 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001837/0.2838, allocations: 335.8 kB / 0.8023 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001716/0.2855, allocations: 0.9601 MB / 0.8032 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.501e-05/0.2856, allocations: 61.98 kB / 0.8033 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.2857, allocations: 84 kB / 0.8034 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/0.2879, allocations: 1.001 MB / 0.8043 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.288, allocations: 7.938 kB / 0.8044 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.55e-05/0.2881, allocations: 32 kB / 0.8044 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/0.2881, allocations: 20 kB / 0.8044 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002365/0.2905, allocations: 0.8273 MB / 0.8052 GB, free: 12.77 MB / 0.6231 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.005782/0.2962, allocations: 4.003 MB / 0.8091 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001861/0.2981, allocations: 0.6156 MB / 0.8097 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008839/0.299, allocations: 305.4 kB / 0.81 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/0.3001, allocations: 0.9457 MB / 0.8109 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001138/0.3012, allocations: 427.2 kB / 0.8113 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 4.649e-06/0.3013, allocations: 4 kB / 0.8114 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of matching and sorting (n=47): time 0.003209/0.3045, allocations: 0.9826 MB / 0.8123 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.141e-05/0.3046, allocations: 118.7 kB / 0.8124 GB, free: 4.934 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.3059, allocations: 0.8786 MB / 0.8133 GB, free: 4.031 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.161e-05/0.306, allocations: 37.7 kB / 0.8133 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004627/0.3065, allocations: 492.4 kB / 0.8138 GB, free: 3.504 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.3067, allocations: 174.6 kB / 0.814 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/0.3069, allocations: 130.3 kB / 0.8141 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3071, allocations: 330 kB / 0.8144 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009304/0.308, allocations: 297.1 kB / 0.8147 GB, free: 2.578 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.3092, allocations: 484.2 kB / 0.8151 GB, free: 2.031 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002/0.3112, allocations: 0.7975 MB / 0.8159 GB, free: 1.152 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.3112, allocations: 0 / 0.8159 GB, free: 1.152 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00263/0.3138, allocations: 0.9262 MB / 0.8168 GB, free: 216 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.114e-05/0.3139, allocations: 37.64 kB / 0.8169 GB, free: 172 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.3139, allocations: 8 kB / 0.8169 GB, free: 164 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/0.314, allocations: 8 kB / 0.8169 GB, free: 156 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.315, allocations: 204.2 kB / 0.8171 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.123e-05/0.3151, allocations: 11.94 kB / 0.8171 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009884/0.3161, allocations: 119.3 kB / 0.8172 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.92e-05/0.3162, allocations: 35.98 kB / 0.8172 GB, free: 15.79 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (mDHW60C.count,$PRE.mDHW60C.count,mDHW60C.T_start,$PRE.mDHW60C.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * 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.000505/0.3167, allocations: 273.6 kB / 0.8175 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002342/0.3169, allocations: 111.3 kB / 0.8176 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002951/0.3199, allocations: 1.078 MB / 0.8186 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.206e-05/0.3199, allocations: 11.94 kB / 0.8187 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.3199, allocations: 3.938 kB / 0.8187 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.32, allocations: 3.984 kB / 0.8187 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004298/0.3243, allocations: 2.163 MB / 0.8208 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/0.3243, allocations: 4.156 kB / 0.8208 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008858/0.3252, allocations: 159.7 kB / 0.8209 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/0.3252, allocations: 4 kB / 0.8209 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.546e-05/0.3253, allocations: 19.92 kB / 0.821 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.3253, allocations: 4 kB / 0.821 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.3253, allocations: 4 kB / 0.821 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003602/0.3289, allocations: 1.469 MB / 0.8224 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005332/0.3295, allocations: 280.2 kB / 0.8227 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/0.3296, allocations: 12 kB / 0.8227 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000783/0.3304, allocations: 63.91 kB / 0.8227 GB, free: 9.984 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.3306, allocations: 60.38 kB / 0.8228 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.741e-05/0.3307, allocations: 23.98 kB / 0.8228 GB, free: 9.902 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009777/0.3316, allocations: 0.6222 MB / 0.8234 GB, free: 9.27 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3317, allocations: 0 / 0.8234 GB, free: 9.27 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001175/0.3328, allocations: 367.1 kB / 0.8238 GB, free: 8.91 MB / 0.6387 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) * Number of clocked states: 0 () * 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 (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.002081/0.3349, allocations: 0.6588 MB / 0.8244 GB, free: 8.41 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002355/0.3373, allocations: 0.8071 MB / 0.8252 GB, free: 7.59 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3373, allocations: 0 / 0.8252 GB, free: 7.59 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.3384, allocations: 406.6 kB / 0.8256 GB, free: 7.191 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002367/0.3408, allocations: 486.5 kB / 0.8261 GB, free: 6.727 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008446/0.3493, allocations: 2.409 MB / 0.8284 GB, free: 4.262 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007247/0.35, allocations: 1.037 MB / 0.8294 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004461/0.3505, allocations: 107.3 kB / 0.8295 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of SimCode: time 9.92e-07/0.3505, allocations: 0 / 0.8295 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of Templates: time 0.031/0.3815, allocations: 18.96 MB / 0.848 GB, free: 276 kB / 0.6544 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.950436036102474] Failed to read output from testmodel.py, exit status != 0: 0.38819600199349225 0.40208150800000003 0.12025250800000001 Calling exit ...