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.001482/0.001482, 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.001744/0.001744, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.312/1.312, allocations: 207.6 MB / 235.3 MB, free: 10.01 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.277/0.277, allocations: 49.57 MB / 337.1 MB, free: 4.102 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_Wcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse",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.002091/0.002091, allocations: 67.91 kB / 477.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1062, allocations: 62.41 MB / 0.5269 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.2044/0.3107, allocations: 15.68 MB / 0.5422 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007681/0.3114, allocations: 0.713 MB / 0.5429 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.3115, allocations: 6.594 kB / 0.5429 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003517/0.3119, allocations: 108.4 kB / 0.543 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004787/0.3124, allocations: 216.1 kB / 0.5432 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004461/0.3168, allocations: 2.064 MB / 0.5452 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006096/0.3174, allocations: 0.5919 MB / 0.5458 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.3176, allocations: 43.3 kB / 0.5459 GB, free: 11.53 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005649/0.3181, allocations: 424.5 kB / 0.5463 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003667/0.3185, allocations: 286.5 kB / 0.5465 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.272e-05/0.3185, allocations: 22.28 kB / 0.5466 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006579/0.3251, allocations: 3.644 MB / 0.5501 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002861/0.3254, allocations: 210.7 kB / 0.5503 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003759/0.3258, allocations: 304.7 kB / 0.5506 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004322/0.3301, allocations: 2.428 MB / 0.553 GB, free: 11.1 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3301, allocations: 4.219 kB / 0.553 GB, free: 11.1 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3301, allocations: 0 / 0.553 GB, free: 11.1 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.3301, allocations: 5.188 kB / 0.553 GB, free: 11.09 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.003695/0.3338, allocations: 1.168 MB / 0.5541 GB, free: 10.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.3339, allocations: 9.75 kB / 0.5541 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.508e-05/0.3339, allocations: 17.69 kB / 0.5542 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001016/0.334, allocations: 97.78 kB / 0.5542 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003276/0.3343, allocations: 95.42 kB / 0.5543 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008634/0.3352, allocations: 0.4921 MB / 0.5548 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.3352, allocations: 37.28 kB / 0.5549 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.006e-05/0.3353, allocations: 42.81 kB / 0.5549 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.3366, allocations: 0.8198 MB / 0.5557 GB, free: 9.824 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.3366, allocations: 5.094 kB / 0.5557 GB, free: 9.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.052e-05/0.3367, allocations: 23.12 kB / 0.5557 GB, free: 9.805 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.339e-05/0.3367, allocations: 44.8 kB / 0.5558 GB, free: 9.797 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.3379, allocations: 0.6085 MB / 0.5564 GB, free: 9.645 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.00252/0.3404, allocations: 4.254 MB / 0.5605 GB, free: 5.723 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009618/0.3414, allocations: 0.5191 MB / 0.561 GB, free: 5.551 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/0.3416, allocations: 178.7 kB / 0.5612 GB, free: 5.488 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02826/0.3698, allocations: 8.218 MB / 0.5692 GB, free: 2.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.3699, allocations: 44.05 kB / 0.5693 GB, free: 2.699 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.274e-06/0.3699, allocations: 0 / 0.5693 GB, free: 2.699 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.001865/0.3717, allocations: 0.7331 MB / 0.57 GB, free: 2.355 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.3718, allocations: 59.12 kB / 0.57 GB, free: 2.289 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005599/0.3723, allocations: 466.1 kB / 0.5705 GB, free: 2.031 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.3724, allocations: 30.83 kB / 0.5705 GB, free: 1.996 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.3725, allocations: 281 kB / 0.5708 GB, free: 1.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.931e-05/0.3726, allocations: 145.4 kB / 0.5709 GB, free: 1.629 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.3727, allocations: 73.62 kB / 0.571 GB, free: 1.582 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.29e-05/0.3728, allocations: 365.8 kB / 0.5713 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.3729, allocations: 133 kB / 0.5715 GB, free: 1.172 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.3732, allocations: 197 kB / 0.5716 GB, free: 1.043 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004432/0.3736, allocations: 387.4 kB / 0.572 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3736, allocations: 3.938 kB / 0.572 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006378/0.3742, allocations: 433.5 kB / 0.5724 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.3743, allocations: 6.531 kB / 0.5724 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.3743, allocations: 1.406 kB / 0.5724 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.3743, allocations: 8.359 kB / 0.5724 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.3746, allocations: 67.59 kB / 0.5725 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.3746, allocations: 11.11 kB / 0.5725 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/0.3749, allocations: 55.14 kB / 0.5726 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/0.3749, allocations: 14.78 kB / 0.5726 GB, free: 0.5273 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.0002781/0.3752, allocations: 264.7 kB / 0.5728 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.3753, allocations: 50.92 kB / 0.5729 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/0.3771, allocations: 1.839 MB / 0.5747 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.934e-05/0.3772, allocations: 30.95 kB / 0.5747 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.3772, allocations: 4.875 kB / 0.5747 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.3772, allocations: 3.984 kB / 0.5747 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.3784, allocations: 0.9944 MB / 0.5757 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.3784, allocations: 0 / 0.5757 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.3786, allocations: 56.06 kB / 0.5757 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.3786, allocations: 1.344 kB / 0.5758 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.3786, allocations: 6.906 kB / 0.5758 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.3786, allocations: 6.016 kB / 0.5758 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3786, allocations: 0 / 0.5758 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.3798, allocations: 1.03 MB / 0.5768 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/0.38, allocations: 94.16 kB / 0.5769 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.104e-05/0.38, allocations: 6.625 kB / 0.5769 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.3802, allocations: 15.67 kB / 0.5769 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.3803, allocations: 24.2 kB / 0.5769 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.3803, allocations: 7.531 kB / 0.5769 GB, free: 13.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003764/0.3807, allocations: 341 kB / 0.5772 GB, free: 13.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3807, allocations: 0 / 0.5772 GB, free: 13.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002243/0.3829, allocations: 0.5305 MB / 0.5778 GB, free: 13.63 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.004319/0.3872, allocations: 1.983 MB / 0.5797 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007588/0.388, allocations: 0.5373 MB / 0.5802 GB, free: 12.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.388, allocations: 3.938 kB / 0.5802 GB, free: 12.18 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000395/0.3884, allocations: 368.2 kB / 0.5806 GB, free: 12.01 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/0.3899, allocations: 297.3 kB / 0.5809 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008222/0.3982, allocations: 5.511 MB / 0.5862 GB, free: 6.207 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007172/0.3989, allocations: 1.052 MB / 0.5873 GB, free: 5.125 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005286/0.3994, allocations: 274.3 kB / 0.5875 GB, free: 4.859 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003377/0.3998, allocations: 275.3 kB / 0.5878 GB, free: 4.59 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3998, allocations: 0 / 0.5878 GB, free: 4.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06085/0.4606, allocations: 29.61 MB / 0.6167 GB, free: 6.902 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.52, allocations: 7.891 kB / 0.6167 GB, free: 6.895 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestConstantHeatTransferTwoGrid_Wcoarse_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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.395075769978575] Failed to read output from testmodel.py, exit status != 0: 12.687585758045316 12.702586683 12.369465298 Calling exit ...