Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.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.001834/0.001834, allocations: 112.2 kB / 20.43 MB, free: 1.457 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.001428/0.001428, allocations: 180.8 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 207.6 MB / 234.5 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2965/0.2965, allocations: 49.56 MB / 336.3 MB, free: 4.117 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse") translateModel(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 67.89 kB / 476.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1107, allocations: 62.41 MB / 0.5266 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.2207/0.3314, allocations: 15.7 MB / 0.5419 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008091/0.3322, allocations: 0.7106 MB / 0.5426 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.3323, allocations: 9.062 kB / 0.5426 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003542/0.3327, allocations: 106.1 kB / 0.5427 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004719/0.3331, allocations: 213.4 kB / 0.5429 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004508/0.3376, allocations: 2.064 MB / 0.5449 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005387/0.3382, allocations: 452.4 kB / 0.5454 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.3383, allocations: 60.22 kB / 0.5454 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005454/0.3389, allocations: 389.4 kB / 0.5458 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002854/0.3391, allocations: 245.4 kB / 0.546 GB, free: 12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.469e-05/0.3392, allocations: 19.91 kB / 0.5461 GB, free: 12 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006605/0.3458, allocations: 3.641 MB / 0.5496 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002634/0.3461, allocations: 206.7 kB / 0.5498 GB, free: 11.92 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002941/0.3464, allocations: 247.2 kB / 0.55 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004205/0.3506, allocations: 2.358 MB / 0.5523 GB, free: 11.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3506, allocations: 0 / 0.5523 GB, free: 11.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3506, allocations: 0 / 0.5523 GB, free: 11.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.3506, allocations: 1.844 kB / 0.5524 GB, free: 11.68 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.003247/0.3538, allocations: 1.013 MB / 0.5533 GB, free: 11.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3539, allocations: 10.75 kB / 0.5534 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002261/0.3541, allocations: 77.11 kB / 0.5534 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008471/0.3549, allocations: 469.2 kB / 0.5539 GB, free: 10.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.79e-05/0.355, allocations: 35.75 kB / 0.5539 GB, free: 10.81 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.595e-05/0.355, allocations: 39.16 kB / 0.5539 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.3562, allocations: 0.5949 MB / 0.5545 GB, free: 10.53 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.3562, allocations: 5.094 kB / 0.5545 GB, free: 10.53 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.72e-05/0.3562, allocations: 17.34 kB / 0.5545 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-05/0.3563, allocations: 31.19 kB / 0.5546 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008394/0.3571, allocations: 456.7 kB / 0.555 GB, free: 10.39 MB / 414.1 MB 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.002097/0.3592, allocations: 3.116 MB / 0.5581 GB, free: 7.527 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007064/0.3599, allocations: 357.1 kB / 0.5584 GB, free: 7.406 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.3602, allocations: 163.8 kB / 0.5586 GB, free: 7.348 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02992/0.3901, allocations: 8.211 MB / 0.5666 GB, free: 4.863 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.3901, allocations: 40.09 kB / 0.5666 GB, free: 4.816 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 2.575e-06/0.3901, allocations: 0 / 0.5666 GB, free: 4.816 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.00137/0.3915, allocations: 0.5514 MB / 0.5671 GB, free: 4.539 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.3915, allocations: 58.22 kB / 0.5672 GB, free: 4.473 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004406/0.392, allocations: 412.4 kB / 0.5676 GB, free: 4.238 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.392, allocations: 33.52 kB / 0.5676 GB, free: 4.203 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.3921, allocations: 252 kB / 0.5679 GB, free: 3.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.997e-05/0.3922, allocations: 112.4 kB / 0.568 GB, free: 3.883 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.468e-05/0.3922, allocations: 63.88 kB / 0.568 GB, free: 3.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.439e-05/0.3923, allocations: 354.8 kB / 0.5684 GB, free: 3.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.3925, allocations: 103.3 kB / 0.5685 GB, free: 3.453 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.3926, allocations: 149.8 kB / 0.5686 GB, free: 3.355 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003542/0.393, allocations: 296.2 kB / 0.5689 GB, free: 3.184 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.393, allocations: 0 / 0.5689 GB, free: 3.184 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004764/0.3935, allocations: 348.2 kB / 0.5692 GB, free: 3.004 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3935, allocations: 8.531 kB / 0.5692 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3935, allocations: 1.469 kB / 0.5692 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.3935, allocations: 2.5 kB / 0.5692 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.3937, allocations: 50.81 kB / 0.5693 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.3938, allocations: 2.406 kB / 0.5693 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.394, allocations: 23.94 kB / 0.5693 GB, free: 2.969 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/0.394, allocations: 11.36 kB / 0.5693 GB, free: 2.965 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (fluidState[4].phase,fluidState[3].phase,fluidState[2].phase,fluidState[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 0 * 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.0002261/0.3942, allocations: 231.6 kB / 0.5695 GB, free: 2.789 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.887e-05/0.3943, allocations: 49.69 kB / 0.5696 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.3954, allocations: 1.163 MB / 0.5707 GB, free: 2.109 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.613e-05/0.3954, allocations: 16.44 kB / 0.5707 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3954, allocations: 0 / 0.5707 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3954, allocations: 5.078 kB / 0.5708 GB, free: 2.098 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007327/0.3962, allocations: 0.7049 MB / 0.5714 GB, free: 1.617 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3962, allocations: 3.938 kB / 0.5714 GB, free: 1.613 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.3963, allocations: 43.52 kB / 0.5715 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3963, allocations: 2.969 kB / 0.5715 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.3963, allocations: 2.188 kB / 0.5715 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.197e-06/0.3964, allocations: 5.109 kB / 0.5715 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3964, allocations: 5.062 kB / 0.5715 GB, free: 1.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006719/0.397, allocations: 0.7175 MB / 0.5722 GB, free: 1.152 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.767e-05/0.3971, allocations: 73.19 kB / 0.5723 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.904e-05/0.3972, allocations: 1.375 kB / 0.5723 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.3973, allocations: 10.73 kB / 0.5723 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/0.3973, allocations: 17.47 kB / 0.5723 GB, free: 1.078 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.3974, allocations: 6.719 kB / 0.5723 GB, free: 1.078 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002662/0.3976, allocations: 307.5 kB / 0.5726 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3976, allocations: 0 / 0.5726 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002141/0.3998, allocations: 0.4974 MB / 0.5731 GB, free: 0.8281 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 21 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * 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.001795/0.4016, allocations: 0.5127 MB / 0.5736 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005276/0.4021, allocations: 388.8 kB / 0.574 GB, free: 484 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4021, allocations: 1.375 kB / 0.574 GB, free: 484 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002624/0.4024, allocations: 251 kB / 0.5742 GB, free: 368 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.4034, allocations: 193 kB / 0.5744 GB, free: 276 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.4051, allocations: 1.314 MB / 0.5757 GB, free: 15.51 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005966/0.4057, allocations: 0.9547 MB / 0.5766 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003528/0.4061, allocations: 178.9 kB / 0.5768 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.53e-05/0.4062, allocations: 32.5 kB / 0.5768 GB, free: 14.62 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4062, allocations: 0 / 0.5768 GB, free: 14.62 MB / 430.1 MB Notification: Performance of Templates: time 0.02944/0.4356, allocations: 18.65 MB / 0.595 GB, free: 13.3 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.586191560141742] Failed to read output from testmodel.py, exit status != 0: 0.443978319875896 0.45803040700000003 0.10434897000000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f8dc00717b0>