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.001392/0.001392, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001398/0.001398, allocations: 186 kB / 20.78 MB, free: 1.547 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.498/1.498, allocations: 225.6 MB / 249.4 MB, free: 3.145 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.1/1.1, allocations: 175.7 MB / 480.2 MB, free: 2.773 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.002044/0.002044, allocations: 67.86 kB / 0.6684 GB, free: 10.62 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2228, allocations: 94.53 MB / 0.7607 GB, free: 308 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.05093/0.2737, allocations: 42.79 MB / 0.8025 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01908/0.2928, allocations: 11.09 MB / 0.8133 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002886/0.2957, allocations: 51.75 kB / 0.8133 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002262/0.2979, allocations: 0.5625 MB / 0.8139 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006469/0.3044, allocations: 1.446 MB / 0.8153 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005872/0.3103, allocations: 1.314 MB / 0.8166 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007902/0.3182, allocations: 2.677 MB / 0.8192 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002623/0.3208, allocations: 0.8423 MB / 0.82 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005266/0.326, allocations: 1.219 MB / 0.8212 GB, free: 2.094 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002216/0.3283, allocations: 0.8322 MB / 0.822 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002742/0.3285, allocations: 112 kB / 0.8221 GB, free: 1.148 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002883/0.3314, allocations: 0.706 MB / 0.8228 GB, free: 452 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004045/0.3318, allocations: 278.9 kB / 0.8231 GB, free: 172 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009982/0.3328, allocations: 0.6182 MB / 0.8237 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003625/0.3364, allocations: 1.849 MB / 0.8255 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3365, allocations: 4 kB / 0.8255 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3365, allocations: 3.938 kB / 0.8255 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.237e-05/0.3365, allocations: 4 kB / 0.8255 GB, free: 13.68 MB / 0.6387 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.002867/0.3393, allocations: 1.54 MB / 0.827 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.3394, allocations: 8.031 kB / 0.827 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/0.3411, allocations: 335.8 kB / 0.8273 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001798/0.3429, allocations: 0.9574 MB / 0.8283 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.416e-05/0.343, allocations: 65.98 kB / 0.8283 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.3431, allocations: 83.94 kB / 0.8284 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/0.3453, allocations: 0.9967 MB / 0.8294 GB, free: 9.543 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.3453, allocations: 11.92 kB / 0.8294 GB, free: 9.531 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.524e-05/0.3454, allocations: 32 kB / 0.8294 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.3454, allocations: 20 kB / 0.8295 GB, free: 9.48 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002215/0.3477, allocations: 0.8273 MB / 0.8303 GB, free: 8.656 MB / 0.6387 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.005733/0.3534, allocations: 4.01 MB / 0.8342 GB, free: 4.453 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/0.3552, allocations: 0.5982 MB / 0.8348 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008163/0.356, allocations: 289.4 kB / 0.835 GB, free: 3.566 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/0.357, allocations: 0.9457 MB / 0.836 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001111/0.3582, allocations: 427.2 kB / 0.8364 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 2.725e-06/0.3582, allocations: 0 / 0.8364 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of matching and sorting (n=47): time 0.003126/0.3613, allocations: 0.9778 MB / 0.8373 GB, free: 1 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.448e-05/0.3614, allocations: 114.8 kB / 0.8374 GB, free: 0.8633 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5241/0.8855, allocations: 0.8704 MB / 0.8383 GB, free: 76.11 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001377/0.8856, allocations: 39.86 kB / 0.8383 GB, free: 76.08 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004662/0.8861, allocations: 492.5 kB / 0.8388 GB, free: 76 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.8863, allocations: 174.4 kB / 0.839 GB, free: 75.95 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002699/0.8865, allocations: 134.2 kB / 0.8391 GB, free: 75.92 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.515e-05/0.8866, allocations: 329.9 kB / 0.8394 GB, free: 75.62 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009719/0.8876, allocations: 297.1 kB / 0.8397 GB, free: 75.62 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.8886, allocations: 489.6 kB / 0.8402 GB, free: 75.41 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001976/0.8906, allocations: 0.7817 MB / 0.8409 GB, free: 75.19 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.8906, allocations: 6.125 kB / 0.8409 GB, free: 75.19 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002529/0.8932, allocations: 0.9261 MB / 0.8418 GB, free: 74.96 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.48e-05/0.8932, allocations: 40.34 kB / 0.8419 GB, free: 74.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.8932, allocations: 5.5 kB / 0.8419 GB, free: 74.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.116e-05/0.8932, allocations: 8.844 kB / 0.8419 GB, free: 74.93 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.8943, allocations: 195.4 kB / 0.8421 GB, free: 74.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-05/0.8943, allocations: 17.98 kB / 0.8421 GB, free: 74.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.8954, allocations: 118 kB / 0.8422 GB, free: 74.88 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.8955, allocations: 38.17 kB / 0.8422 GB, free: 74.87 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.0006023/0.8961, allocations: 267.9 kB / 0.8425 GB, free: 74.67 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/0.8963, allocations: 105.8 kB / 0.8426 GB, free: 74.61 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002907/0.8992, allocations: 1.099 MB / 0.8437 GB, free: 74.25 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/0.8992, allocations: 6.594 kB / 0.8437 GB, free: 74.25 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.8993, allocations: 2.938 kB / 0.8437 GB, free: 74.25 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.8993, allocations: 2.016 kB / 0.8437 GB, free: 74.25 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004229/0.9035, allocations: 2.158 MB / 0.8458 GB, free: 73.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.9035, allocations: 1.469 kB / 0.8458 GB, free: 73.14 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008906/0.9044, allocations: 151.6 kB / 0.8459 GB, free: 73.13 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/0.9044, allocations: 3.406 kB / 0.8459 GB, free: 73.13 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.955e-05/0.9045, allocations: 19.55 kB / 0.8459 GB, free: 73.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.746e-06/0.9045, allocations: 3.5 kB / 0.8459 GB, free: 73.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.575e-05/0.9045, allocations: 5.953 kB / 0.846 GB, free: 73.12 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003407/0.9079, allocations: 1.471 MB / 0.8474 GB, free: 72.45 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005202/0.9084, allocations: 276.7 kB / 0.8477 GB, free: 72.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001751/0.9086, allocations: 15.42 kB / 0.8477 GB, free: 72.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007513/0.9093, allocations: 65.27 kB / 0.8477 GB, free: 72.23 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.9095, allocations: 54.72 kB / 0.8478 GB, free: 72.22 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.683e-05/0.9096, allocations: 25.25 kB / 0.8478 GB, free: 72.21 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001097/0.9107, allocations: 0.6198 MB / 0.8484 GB, free: 71.94 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.9107, allocations: 0.5625 kB / 0.8484 GB, free: 71.94 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001383/0.9121, allocations: 366.5 kB / 0.8488 GB, free: 71.89 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.00212/0.9142, allocations: 0.6759 MB / 0.8494 GB, free: 71.73 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002755/0.9169, allocations: 0.7807 MB / 0.8502 GB, free: 71.46 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.917, allocations: 0.6875 kB / 0.8502 GB, free: 71.46 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.9181, allocations: 392 kB / 0.8506 GB, free: 71.35 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/0.9206, allocations: 471 kB / 0.851 GB, free: 71.22 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007729/0.9283, allocations: 2.386 MB / 0.8533 GB, free: 70.18 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005861/0.9289, allocations: 1.043 MB / 0.8544 GB, free: 69.46 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00105/0.9299, allocations: 225 kB / 0.8546 GB, free: 69.39 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/0.9302, allocations: 93.8 kB / 0.8547 GB, free: 69.38 MB / 0.6387 GB Notification: Performance of SimCode: time 1.272e-06/0.9302, allocations: 0 / 0.8547 GB, free: 69.38 MB / 0.6387 GB Notification: Performance of Templates: time 0.03831/0.9685, allocations: 21.36 MB / 0.8755 GB, free: 60.54 MB / 0.6387 GB " [Timeout remaining time 659] 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: 7.4934535045176744]