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.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.001221/0.001221, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001344/0.001344, allocations: 216.2 kB / 24.53 MB, free: 4.066 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.296/1.296, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.272/0.272, allocations: 49.56 MB / 337.1 MB, free: 4.109 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.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: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 67.91 kB / 477.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09966/0.1017, allocations: 62.42 MB / 0.5269 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse): time 0.2034/0.3051, allocations: 15.69 MB / 0.5422 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008235/0.306, allocations: 0.713 MB / 0.5429 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.3061, allocations: 8.281 kB / 0.5429 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003478/0.3064, allocations: 109.8 kB / 0.5431 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004551/0.3069, allocations: 218.4 kB / 0.5433 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004543/0.3114, allocations: 2.06 MB / 0.5453 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004756/0.3119, allocations: 455 kB / 0.5457 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.312, allocations: 62.03 kB / 0.5458 GB, free: 11.58 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005187/0.3125, allocations: 386.3 kB / 0.5461 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003205/0.3129, allocations: 245.5 kB / 0.5464 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.653e-05/0.3129, allocations: 20.69 kB / 0.5464 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005947/0.3188, allocations: 3.646 MB / 0.5499 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002107/0.319, allocations: 195.6 kB / 0.5501 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002342/0.3193, allocations: 251.3 kB / 0.5504 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00322/0.3225, allocations: 2.355 MB / 0.5527 GB, free: 11.21 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3225, allocations: 4.75 kB / 0.5527 GB, free: 11.21 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3225, allocations: 0.6562 kB / 0.5527 GB, free: 11.21 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.3225, allocations: 0 / 0.5527 GB, free: 11.21 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.00244/0.325, allocations: 1.017 MB / 0.5537 GB, free: 10.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.325, allocations: 13.53 kB / 0.5537 GB, free: 10.65 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.107e-05/0.325, allocations: 10.41 kB / 0.5537 GB, free: 10.65 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.628e-05/0.3251, allocations: 82.22 kB / 0.5538 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.3253, allocations: 76.08 kB / 0.5538 GB, free: 10.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006525/0.3259, allocations: 475.5 kB / 0.5543 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/0.3259, allocations: 30.47 kB / 0.5543 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-05/0.326, allocations: 36.72 kB / 0.5544 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.3271, allocations: 0.5967 MB / 0.5549 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.3271, allocations: 5.25 kB / 0.5549 GB, free: 10.13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.394e-05/0.3271, allocations: 15.44 kB / 0.555 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.332e-05/0.3272, allocations: 27.36 kB / 0.555 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007797/0.3279, allocations: 457 kB / 0.5554 GB, free: 10 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.001816/0.3298, allocations: 3.117 MB / 0.5585 GB, free: 7.133 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000638/0.3304, allocations: 363.8 kB / 0.5588 GB, free: 7.004 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/0.3306, allocations: 155.7 kB / 0.559 GB, free: 6.953 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02641/0.357, allocations: 8.22 MB / 0.567 GB, free: 4.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.357, allocations: 37.53 kB / 0.567 GB, free: 4.438 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 2.614e-06/0.357, allocations: 0 / 0.567 GB, free: 4.438 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.001295/0.3583, allocations: 0.5473 MB / 0.5676 GB, free: 4.164 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/0.3584, allocations: 57.83 kB / 0.5676 GB, free: 4.098 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000404/0.3588, allocations: 407.9 kB / 0.568 GB, free: 3.867 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.3588, allocations: 31.48 kB / 0.568 GB, free: 3.832 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.3589, allocations: 256.5 kB / 0.5683 GB, free: 3.605 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.655e-05/0.3589, allocations: 111.1 kB / 0.5684 GB, free: 3.512 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.704e-05/0.359, allocations: 60.98 kB / 0.5684 GB, free: 3.469 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.124e-05/0.3591, allocations: 358.6 kB / 0.5688 GB, free: 3.125 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.3592, allocations: 99.56 kB / 0.5689 GB, free: 3.082 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.3594, allocations: 150.3 kB / 0.569 GB, free: 2.984 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/0.3597, allocations: 291.5 kB / 0.5693 GB, free: 2.816 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3597, allocations: 1.062 kB / 0.5693 GB, free: 2.816 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004375/0.3602, allocations: 355 kB / 0.5696 GB, free: 2.633 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3602, allocations: 5.562 kB / 0.5696 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3602, allocations: 8.875 kB / 0.5697 GB, free: 2.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.3602, allocations: 2.438 kB / 0.5697 GB, free: 2.625 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.3604, allocations: 50.47 kB / 0.5697 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3604, allocations: 2.719 kB / 0.5697 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.3606, allocations: 29.62 kB / 0.5697 GB, free: 2.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.3606, allocations: 8.75 kB / 0.5697 GB, free: 2.59 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.0002158/0.3608, allocations: 230.2 kB / 0.57 GB, free: 2.414 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.997e-05/0.3609, allocations: 42.47 kB / 0.57 GB, free: 2.391 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.3619, allocations: 1.156 MB / 0.5711 GB, free: 1.746 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-05/0.362, allocations: 18.94 kB / 0.5712 GB, free: 1.734 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.362, allocations: 0 / 0.5712 GB, free: 1.734 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.362, allocations: 0 / 0.5712 GB, free: 1.734 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006862/0.3627, allocations: 0.7185 MB / 0.5719 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3627, allocations: 0 / 0.5719 GB, free: 1.234 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.3628, allocations: 40.19 kB / 0.5719 GB, free: 1.227 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3628, allocations: 1.219 kB / 0.5719 GB, free: 1.227 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.3628, allocations: 6.125 kB / 0.5719 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3628, allocations: 1.031 kB / 0.5719 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3628, allocations: 4 kB / 0.5719 GB, free: 1.219 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006345/0.3635, allocations: 0.7315 MB / 0.5726 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.517e-05/0.3635, allocations: 65.06 kB / 0.5727 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.5e-05/0.3636, allocations: 6.344 kB / 0.5727 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.3637, allocations: 6.938 kB / 0.5727 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.3638, allocations: 14.12 kB / 0.5727 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.3638, allocations: 15.02 kB / 0.5727 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002544/0.3641, allocations: 298.7 kB / 0.573 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3641, allocations: 1.5 kB / 0.573 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002281/0.3663, allocations: 0.5011 MB / 0.5735 GB, free: 468 kB / 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.00298/0.3693, allocations: 1.672 MB / 0.5751 GB, free: 15.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005953/0.3699, allocations: 391.4 kB / 0.5755 GB, free: 15.24 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3699, allocations: 1.156 kB / 0.5755 GB, free: 15.24 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002939/0.3702, allocations: 252.5 kB / 0.5757 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.3713, allocations: 202.9 kB / 0.5759 GB, free: 15.03 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005545/0.3768, allocations: 4.548 MB / 0.5804 GB, free: 12.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005881/0.3774, allocations: 0.9609 MB / 0.5813 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003856/0.3778, allocations: 185.9 kB / 0.5815 GB, free: 11.24 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002594/0.378, allocations: 207.4 kB / 0.5817 GB, free: 11.04 MB / 430.1 MB Notification: Performance of SimCode: time 8.71e-07/0.378, allocations: 3.938 kB / 0.5817 GB, free: 11.04 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05155/0.4296, allocations: 25.08 MB / 0.6062 GB, free: 1.883 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.2, allocations: 7.922 kB / 0.6062 GB, free: 1.875 MB / 446.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Fcoarse.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Fcoarse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.935462784022093] Failed to read output from testmodel.py, exit status != 0: 12.369393358938396 12.395461953 12.068285385 Calling exit ...