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.001252/0.001252, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001372/0.001372, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.309/1.309, allocations: 207.7 MB / 235.4 MB, free: 9.785 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.2778/0.2778, allocations: 49.61 MB / 337.2 MB, free: 3.879 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.002173/0.002173, allocations: 63.91 kB / 477.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1029, allocations: 62.42 MB / 0.5269 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.2088/0.3117, allocations: 14.23 MB / 0.5408 GB, free: 11.74 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.000907/0.3126, allocations: 0.6415 MB / 0.5414 GB, free: 11.74 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.3127, allocations: 10.22 kB / 0.5414 GB, free: 11.74 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000362/0.3131, allocations: 102 kB / 0.5415 GB, free: 11.74 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004574/0.3136, allocations: 215.7 kB / 0.5417 GB, free: 11.74 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004483/0.318, allocations: 2.039 MB / 0.5437 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006255/0.3187, allocations: 0.5909 MB / 0.5443 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.3188, allocations: 43.41 kB / 0.5444 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006042/0.3194, allocations: 422.5 kB / 0.5448 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003715/0.3198, allocations: 285.5 kB / 0.545 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.734e-05/0.3198, allocations: 21.97 kB / 0.5451 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006447/0.3263, allocations: 3.624 MB / 0.5486 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002884/0.3266, allocations: 213.8 kB / 0.5488 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003914/0.327, allocations: 246.3 kB / 0.549 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00408/0.331, allocations: 2.436 MB / 0.5514 GB, free: 11.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.331, allocations: 0.6562 kB / 0.5514 GB, free: 11.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.331, allocations: 0.9688 kB / 0.5514 GB, free: 11.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.3311, allocations: 0 / 0.5514 GB, free: 11.39 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.003344/0.3344, allocations: 1.174 MB / 0.5526 GB, free: 10.81 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3344, allocations: 9.719 kB / 0.5526 GB, free: 10.81 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.216e-05/0.3345, allocations: 13.34 kB / 0.5526 GB, free: 10.81 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.848e-05/0.3345, allocations: 98.33 kB / 0.5527 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003098/0.3349, allocations: 94.05 kB / 0.5528 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008158/0.3357, allocations: 0.5024 MB / 0.5533 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.853e-05/0.3357, allocations: 40.59 kB / 0.5533 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.154e-05/0.3358, allocations: 41.5 kB / 0.5533 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.3373, allocations: 0.8153 MB / 0.5541 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.3373, allocations: 2 kB / 0.5541 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.452e-05/0.3374, allocations: 19.3 kB / 0.5542 GB, free: 10.31 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-05/0.3375, allocations: 43.3 kB / 0.5542 GB, free: 10.31 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.3387, allocations: 0.6094 MB / 0.5548 GB, free: 10.15 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.002304/0.341, allocations: 2.546 MB / 0.5573 GB, free: 8.281 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.342, allocations: 0.5197 MB / 0.5578 GB, free: 8.105 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/0.3422, allocations: 186.1 kB / 0.558 GB, free: 8.043 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0282/0.3704, allocations: 8.244 MB / 0.566 GB, free: 5.523 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.3705, allocations: 33.28 kB / 0.566 GB, free: 5.484 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.575e-06/0.3705, allocations: 0 / 0.566 GB, free: 5.484 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.001952/0.3724, allocations: 0.7434 MB / 0.5668 GB, free: 5.133 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.3724, allocations: 60.03 kB / 0.5668 GB, free: 5.066 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004869/0.3729, allocations: 470.1 kB / 0.5673 GB, free: 4.805 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.373, allocations: 31.08 kB / 0.5673 GB, free: 4.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.3731, allocations: 278.9 kB / 0.5676 GB, free: 4.527 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.667e-05/0.3732, allocations: 148.2 kB / 0.5677 GB, free: 4.402 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.3733, allocations: 74.56 kB / 0.5678 GB, free: 4.355 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.223e-05/0.3733, allocations: 363.7 kB / 0.5681 GB, free: 4.008 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.3735, allocations: 129.6 kB / 0.5683 GB, free: 3.953 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.3737, allocations: 200.6 kB / 0.5684 GB, free: 3.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004401/0.3742, allocations: 382.5 kB / 0.5688 GB, free: 3.598 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3742, allocations: 3.984 kB / 0.5688 GB, free: 3.594 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005868/0.3748, allocations: 436.5 kB / 0.5692 GB, free: 3.383 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3748, allocations: 14.25 kB / 0.5692 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.3748, allocations: 2.906 kB / 0.5692 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3748, allocations: 1.875 kB / 0.5692 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/0.3751, allocations: 72.83 kB / 0.5693 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.3751, allocations: 11.17 kB / 0.5693 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.3753, allocations: 47.06 kB / 0.5694 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-05/0.3754, allocations: 18.45 kB / 0.5694 GB, free: 3.305 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.0002531/0.3756, allocations: 256.1 kB / 0.5696 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.553e-05/0.3757, allocations: 54.7 kB / 0.5697 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/0.3772, allocations: 1.848 MB / 0.5715 GB, free: 2.062 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.04e-05/0.3773, allocations: 29.77 kB / 0.5715 GB, free: 2.043 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3773, allocations: 1.344 kB / 0.5715 GB, free: 2.043 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3773, allocations: 3.984 kB / 0.5715 GB, free: 2.039 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008948/0.3782, allocations: 0.9674 MB / 0.5725 GB, free: 1.418 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3782, allocations: 0 / 0.5725 GB, free: 1.418 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.3784, allocations: 58.38 kB / 0.5725 GB, free: 1.402 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3784, allocations: 2.25 kB / 0.5725 GB, free: 1.402 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.3784, allocations: 6.812 kB / 0.5725 GB, free: 1.398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.3784, allocations: 1.219 kB / 0.5725 GB, free: 1.398 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3784, allocations: 1.188 kB / 0.5725 GB, free: 1.398 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009146/0.3793, allocations: 1.027 MB / 0.5735 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.3794, allocations: 92.7 kB / 0.5736 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.373e-05/0.3795, allocations: 9.094 kB / 0.5736 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.3797, allocations: 13.05 kB / 0.5736 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.3797, allocations: 21.48 kB / 0.5737 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.3798, allocations: 10.97 kB / 0.5737 GB, free: 0.707 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002963/0.38, allocations: 335.9 kB / 0.574 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.38, allocations: 0 / 0.574 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001938/0.382, allocations: 0.5407 MB / 0.5745 GB, free: 448 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: 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.00404/0.386, allocations: 1.976 MB / 0.5765 GB, free: 15.22 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006913/0.3867, allocations: 0.5393 MB / 0.577 GB, free: 14.99 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3867, allocations: 7.875 kB / 0.577 GB, free: 14.98 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003926/0.3871, allocations: 364.5 kB / 0.5773 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.3886, allocations: 289.9 kB / 0.5776 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007586/0.3962, allocations: 5.507 MB / 0.583 GB, free: 9.367 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/0.3967, allocations: 458.7 kB / 0.5834 GB, free: 8.898 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005453/0.3972, allocations: 279.9 kB / 0.5837 GB, free: 8.625 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003418/0.3976, allocations: 271.3 kB / 0.584 GB, free: 8.359 MB / 430.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3976, allocations: 4 kB / 0.584 GB, free: 8.355 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05875/0.4563, allocations: 29.94 MB / 0.6132 GB, free: 10.32 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.34, allocations: 11.92 kB / 0.6132 GB, free: 10.31 MB / 462.1 MB " [Timeout remaining time 646] (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: 16.288368348032236] Failed to read output from testmodel.py, exit status != 0: 13.522683443967253 13.548857472 13.213050832 Calling exit ...