Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.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.001316/0.001316, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.0016/0.0016, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.424/1.424, allocations: 207.6 MB / 234.5 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] 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.2966/0.2966, allocations: 49.56 MB / 336.3 MB, free: 4.113 MB / 270.1 MB " [Timeout remaining time 179] 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_Wcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse",fmuType="me",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.002266/0.002266, allocations: 67.91 kB / 476.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1145, allocations: 62.43 MB / 0.5261 GB, free: 14.31 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.231/0.3455, allocations: 15.67 MB / 0.5414 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.000892/0.3464, allocations: 0.7114 MB / 0.5421 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.3465, allocations: 9.812 kB / 0.5422 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004102/0.3469, allocations: 107.4 kB / 0.5423 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005774/0.3475, allocations: 215.3 kB / 0.5425 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005214/0.3527, allocations: 2.058 MB / 0.5445 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006879/0.3534, allocations: 0.5872 MB / 0.545 GB, free: 11.51 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.3536, allocations: 44.48 kB / 0.5451 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007072/0.3543, allocations: 425.2 kB / 0.5455 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000461/0.3547, allocations: 284.2 kB / 0.5458 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.955e-05/0.3548, allocations: 21.31 kB / 0.5458 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007723/0.3625, allocations: 3.65 MB / 0.5493 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003826/0.3629, allocations: 207.7 kB / 0.5495 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004743/0.3634, allocations: 304.1 kB / 0.5498 GB, free: 11.26 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00564/0.369, allocations: 2.433 MB / 0.5522 GB, free: 11.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.369, allocations: 0 / 0.5522 GB, free: 11.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.369, allocations: 1.703 kB / 0.5522 GB, free: 11.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.369, allocations: 0 / 0.5522 GB, free: 11.07 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.003936/0.373, allocations: 1.166 MB / 0.5534 GB, free: 10.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.373, allocations: 9.406 kB / 0.5534 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00011/0.3731, allocations: 96.12 kB / 0.5535 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003434/0.3735, allocations: 96.06 kB / 0.5535 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009951/0.3744, allocations: 0.5021 MB / 0.554 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.416e-05/0.3745, allocations: 39.25 kB / 0.5541 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.679e-05/0.3746, allocations: 43.53 kB / 0.5541 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.376, allocations: 0.816 MB / 0.5549 GB, free: 9.801 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.3761, allocations: 1.125 kB / 0.5549 GB, free: 9.801 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.566e-05/0.3761, allocations: 21.34 kB / 0.5549 GB, free: 9.785 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.437e-05/0.3762, allocations: 43.64 kB / 0.555 GB, free: 9.781 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.3775, allocations: 0.6138 MB / 0.5556 GB, free: 9.621 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.002911/0.3804, allocations: 4.265 MB / 0.5597 GB, free: 5.695 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.3815, allocations: 0.5076 MB / 0.5602 GB, free: 5.531 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002663/0.3817, allocations: 186.4 kB / 0.5604 GB, free: 5.465 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02906/0.4108, allocations: 8.215 MB / 0.5684 GB, free: 2.777 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.4108, allocations: 39.8 kB / 0.5685 GB, free: 2.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.575e-06/0.4108, allocations: 1.188 kB / 0.5685 GB, free: 2.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.001908/0.4127, allocations: 0.74 MB / 0.5692 GB, free: 2.379 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.4128, allocations: 55.69 kB / 0.5692 GB, free: 2.316 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005139/0.4133, allocations: 465.5 kB / 0.5697 GB, free: 2.062 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.4133, allocations: 39.06 kB / 0.5697 GB, free: 2.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.4134, allocations: 277.4 kB / 0.57 GB, free: 1.777 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.017e-05/0.4135, allocations: 144.3 kB / 0.5701 GB, free: 1.656 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.422e-05/0.4136, allocations: 74.31 kB / 0.5702 GB, free: 1.609 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.2e-05/0.4137, allocations: 362.4 kB / 0.5705 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.4139, allocations: 129.5 kB / 0.5707 GB, free: 1.207 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.4141, allocations: 203.4 kB / 0.5709 GB, free: 1.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004571/0.4146, allocations: 382.3 kB / 0.5712 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4146, allocations: 4.906 kB / 0.5712 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006419/0.4152, allocations: 440.2 kB / 0.5717 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.4152, allocations: 9.062 kB / 0.5717 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.4152, allocations: 2.312 kB / 0.5717 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.4152, allocations: 7.391 kB / 0.5717 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/0.4155, allocations: 68.22 kB / 0.5717 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.4155, allocations: 11.28 kB / 0.5717 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002908/0.4158, allocations: 47.05 kB / 0.5718 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.831e-05/0.4159, allocations: 14.78 kB / 0.5718 GB, free: 0.5586 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 (fluidState[7].phase,fluidState[6].phase,fluidState[5].phase,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 (39): * Single equations (assignments): 37 * 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.0002919/0.4162, allocations: 252.1 kB / 0.572 GB, free: 384 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.997e-05/0.4162, allocations: 55.58 kB / 0.5721 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/0.4181, allocations: 1.848 MB / 0.5739 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.823e-05/0.4181, allocations: 34.55 kB / 0.5739 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.4181, allocations: 5.594 kB / 0.5739 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.4182, allocations: 3.984 kB / 0.5739 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/0.4194, allocations: 0.9919 MB / 0.5749 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.4194, allocations: 3.312 kB / 0.5749 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.4197, allocations: 58.19 kB / 0.575 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.4197, allocations: 2.75 kB / 0.575 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.4197, allocations: 5.312 kB / 0.575 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.4197, allocations: 2.438 kB / 0.575 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.4197, allocations: 0 / 0.575 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.421, allocations: 1.027 MB / 0.576 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.4211, allocations: 93.59 kB / 0.5761 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.932e-05/0.4212, allocations: 9.594 kB / 0.5761 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.4214, allocations: 14.58 kB / 0.5761 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.4214, allocations: 22.08 kB / 0.5761 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.4214, allocations: 11.47 kB / 0.5761 GB, free: 13.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003778/0.4218, allocations: 335.4 kB / 0.5765 GB, free: 13.74 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4218, allocations: 0 / 0.5765 GB, free: 13.74 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002443/0.4242, allocations: 0.5315 MB / 0.577 GB, free: 13.66 MB / 430.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: 14 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 30 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 7 * 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.004454/0.4287, allocations: 1.979 MB / 0.5789 GB, free: 12.45 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000865/0.4296, allocations: 0.5419 MB / 0.5794 GB, free: 12.21 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4296, allocations: 0 / 0.5794 GB, free: 12.21 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004445/0.43, allocations: 371.8 kB / 0.5798 GB, free: 12.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/0.4316, allocations: 293 kB / 0.5801 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009326/0.441, allocations: 5.514 MB / 0.5855 GB, free: 6.258 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007316/0.4417, allocations: 1.052 MB / 0.5865 GB, free: 5.176 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005858/0.4423, allocations: 279.5 kB / 0.5867 GB, free: 4.906 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003473/0.4426, allocations: 275.3 kB / 0.587 GB, free: 4.637 MB / 430.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4426, allocations: 0 / 0.587 GB, free: 4.637 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06851/0.5111, allocations: 29.58 MB / 0.6159 GB, free: 6.984 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/13.03, allocations: 11.95 kB / 0.6159 GB, free: 6.973 MB / 462.1 MB " [Timeout remaining time 647] (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.sim & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.993439795998711] Failed to read output from testmodel.py, exit status != 0: 13.157176821001485 13.179996625 12.806575772 Calling exit ...