Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 209.7 kB / 23.73 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.436/1.436, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1511/0.1511, allocations: 26.83 MB / 340.7 MB, free: 7.988 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse") translateModel(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 67.89 kB / 477.3 MB, free: 2.957 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2891, allocations: 60.47 MB / 0.5252 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.01527/0.3044, allocations: 14.36 MB / 0.5392 GB, free: 300 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009299/0.3053, allocations: 0.6591 MB / 0.5399 GB, free: 15.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.3054, allocations: 10.34 kB / 0.5399 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004434/0.3059, allocations: 103.2 kB / 0.54 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005704/0.3064, allocations: 214.8 kB / 0.5402 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006491/0.3129, allocations: 2.043 MB / 0.5422 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000667/0.3136, allocations: 455.1 kB / 0.5426 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001899/0.3138, allocations: 53 kB / 0.5426 GB, free: 14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006173/0.3144, allocations: 391.1 kB / 0.543 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003384/0.3147, allocations: 237.5 kB / 0.5432 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.275e-05/0.3148, allocations: 19.94 kB / 0.5433 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006839/0.3216, allocations: 3.528 MB / 0.5467 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002659/0.3219, allocations: 192.4 kB / 0.5469 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004446/0.3223, allocations: 209.8 kB / 0.5471 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004449/0.3268, allocations: 2.359 MB / 0.5494 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3268, allocations: 1.156 kB / 0.5494 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3268, allocations: 0 / 0.5494 GB, free: 10.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.3268, allocations: 3.938 kB / 0.5494 GB, free: 10.23 MB / 398.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.003162/0.33, allocations: 1.023 MB / 0.5504 GB, free: 9.508 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.33, allocations: 8.562 kB / 0.5504 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002191/0.3302, allocations: 74.61 kB / 0.5505 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009046/0.3311, allocations: 473.9 kB / 0.5509 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.3312, allocations: 31.94 kB / 0.551 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.872e-05/0.3312, allocations: 38.81 kB / 0.551 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.3323, allocations: 0.5983 MB / 0.5516 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.3323, allocations: 5.344 kB / 0.5516 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.01e-05/0.3324, allocations: 15.25 kB / 0.5516 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.731e-05/0.3324, allocations: 32.64 kB / 0.5516 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008704/0.3333, allocations: 449.9 kB / 0.5521 GB, free: 8.473 MB / 398.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.002253/0.3355, allocations: 1.719 MB / 0.5537 GB, free: 7.055 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007351/0.3363, allocations: 356.3 kB / 0.5541 GB, free: 6.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/0.3365, allocations: 154.3 kB / 0.5542 GB, free: 6.797 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03288/0.3694, allocations: 8.471 MB / 0.5625 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.3695, allocations: 38.5 kB / 0.5625 GB, free: 14.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 2.234e-06/0.3695, allocations: 0 / 0.5625 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.00152/0.371, allocations: 0.5452 MB / 0.5631 GB, free: 13.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.371, allocations: 55.41 kB / 0.5631 GB, free: 13.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004735/0.3715, allocations: 353.6 kB / 0.5635 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.3715, allocations: 37.58 kB / 0.5635 GB, free: 13.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.3717, allocations: 244.7 kB / 0.5637 GB, free: 13.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.3718, allocations: 111 kB / 0.5638 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.684e-05/0.3719, allocations: 61.62 kB / 0.5639 GB, free: 12.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.3721, allocations: 350.8 kB / 0.5642 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.3723, allocations: 99.94 kB / 0.5643 GB, free: 12.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.3725, allocations: 149.8 kB / 0.5645 GB, free: 12.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004984/0.373, allocations: 296 kB / 0.5647 GB, free: 11.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.373, allocations: 0 / 0.5647 GB, free: 11.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006193/0.3737, allocations: 337.1 kB / 0.5651 GB, free: 11.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3737, allocations: 7.938 kB / 0.5651 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3737, allocations: 0 / 0.5651 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.3737, allocations: 4 kB / 0.5651 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.3739, allocations: 52.05 kB / 0.5651 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.3739, allocations: 7.969 kB / 0.5651 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.3741, allocations: 19.89 kB / 0.5652 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/0.3742, allocations: 8 kB / 0.5652 GB, free: 11.54 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.0002978/0.3745, allocations: 229.7 kB / 0.5654 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.376e-05/0.3745, allocations: 43.64 kB / 0.5654 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.3759, allocations: 1.147 MB / 0.5665 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.881e-05/0.3759, allocations: 15.98 kB / 0.5666 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3759, allocations: 3.984 kB / 0.5666 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3759, allocations: 0 / 0.5666 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000827/0.3768, allocations: 0.5971 MB / 0.5671 GB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.3768, allocations: 0 / 0.5671 GB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.3769, allocations: 39.91 kB / 0.5672 GB, free: 9.418 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.3769, allocations: 4 kB / 0.5672 GB, free: 9.414 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.323e-05/0.377, allocations: 7.938 kB / 0.5672 GB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.377, allocations: 0 / 0.5672 GB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.377, allocations: 4 kB / 0.5672 GB, free: 9.402 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008811/0.3779, allocations: 0.7167 MB / 0.5679 GB, free: 8.668 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.378, allocations: 75.28 kB / 0.568 GB, free: 8.594 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.515e-05/0.378, allocations: 7.938 kB / 0.568 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.3782, allocations: 12 kB / 0.568 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.3782, allocations: 15.97 kB / 0.568 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/0.3782, allocations: 8 kB / 0.568 GB, free: 8.551 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002827/0.3785, allocations: 255.2 kB / 0.5683 GB, free: 8.301 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3785, allocations: 0 / 0.5683 GB, free: 8.301 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001755/0.3803, allocations: 0.507 MB / 0.5688 GB, free: 7.793 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.002233/0.3825, allocations: 0.5176 MB / 0.5693 GB, free: 7.266 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006118/0.3831, allocations: 395.1 kB / 0.5696 GB, free: 6.883 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3831, allocations: 0 / 0.5696 GB, free: 6.883 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003253/0.3835, allocations: 248.8 kB / 0.5699 GB, free: 6.637 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007829/0.3842, allocations: 128.4 kB / 0.57 GB, free: 6.516 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.3863, allocations: 1.304 MB / 0.5713 GB, free: 5.184 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/0.3868, allocations: 350.1 kB / 0.5716 GB, free: 4.816 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003673/0.3872, allocations: 178.7 kB / 0.5718 GB, free: 4.641 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.92e-05/0.3873, allocations: 31.44 kB / 0.5718 GB, free: 4.609 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3873, allocations: 0 / 0.5718 GB, free: 4.609 MB / 414.1 MB Notification: Performance of Templates: time 0.02944/0.4167, allocations: 17.61 MB / 0.589 GB, free: 3.121 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.318729219958186] Failed to read output from testmodel.py, exit status != 0: 0.4252018891274929 0.440588226 0.110694152 Calling exit ...