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.00131/0.00131, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.001403/0.001403, allocations: 219 kB / 21.46 MB, free: 1.586 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.446/1.446, allocations: 207.6 MB / 231.8 MB, free: 4.027 MB / 174.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.4003/0.4003, allocations: 49.5 MB / 333.2 MB, free: 0.793 MB / 254.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="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.002253/0.002253, allocations: 79.77 kB / 471.5 MB, free: 41.1 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1125, allocations: 62.33 MB / 0.5214 GB, free: 2.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestConstantHeatTransferTwoGrid_Wcoarse): time 0.02071/0.1332, allocations: 15.61 MB / 0.5366 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.1343, allocations: 0.7125 MB / 0.5373 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.1345, allocations: 7.938 kB / 0.5373 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004468/0.1349, allocations: 111.3 kB / 0.5374 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005577/0.1355, allocations: 207.1 kB / 0.5376 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005342/0.1408, allocations: 2.044 MB / 0.5396 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008421/0.1417, allocations: 0.5871 MB / 0.5402 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.1419, allocations: 72.7 kB / 0.5402 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007057/0.1426, allocations: 402.9 kB / 0.5406 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004229/0.143, allocations: 291 kB / 0.5409 GB, free: 14.19 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.218e-05/0.143, allocations: 24 kB / 0.5409 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007366/0.1504, allocations: 3.629 MB / 0.5445 GB, free: 10.53 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003633/0.1508, allocations: 211.3 kB / 0.5447 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004054/0.1512, allocations: 306.4 kB / 0.545 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005873/0.1571, allocations: 2.423 MB / 0.5473 GB, free: 7.594 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.1571, allocations: 7.984 kB / 0.5473 GB, free: 7.586 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1571, allocations: 0 / 0.5473 GB, free: 7.586 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.873e-05/0.1571, allocations: 0 / 0.5473 GB, free: 7.586 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.003489/0.1606, allocations: 1.241 MB / 0.5486 GB, free: 6.293 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.1606, allocations: 12.03 kB / 0.5486 GB, free: 6.281 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.021e-05/0.1606, allocations: 17.19 kB / 0.5486 GB, free: 6.266 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000104/0.1608, allocations: 94.64 kB / 0.5487 GB, free: 6.164 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003316/0.1611, allocations: 96.48 kB / 0.5488 GB, free: 6.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008881/0.162, allocations: 0.5617 MB / 0.5493 GB, free: 5.469 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.64e-05/0.162, allocations: 29 kB / 0.5493 GB, free: 5.441 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.659e-05/0.1621, allocations: 48 kB / 0.5494 GB, free: 5.395 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.1636, allocations: 0.8156 MB / 0.5502 GB, free: 4.523 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.1636, allocations: 0 / 0.5502 GB, free: 4.523 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.848e-05/0.1637, allocations: 20 kB / 0.5502 GB, free: 4.504 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.416e-05/0.1637, allocations: 36.98 kB / 0.5502 GB, free: 4.465 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.1651, allocations: 0.6125 MB / 0.5508 GB, free: 3.855 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.004713/0.1698, allocations: 4.309 MB / 0.555 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.1711, allocations: 0.5065 MB / 0.5555 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003106/0.1714, allocations: 177 kB / 0.5557 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03658/0.2079, allocations: 15.39 MB / 0.5707 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.609e-05/0.208, allocations: 34.56 kB / 0.5708 GB, free: 13.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.945e-06/0.208, allocations: 0 / 0.5708 GB, free: 13.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.002192/0.2102, allocations: 0.7393 MB / 0.5715 GB, free: 12.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.2103, allocations: 59.39 kB / 0.5715 GB, free: 12.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000659/0.2109, allocations: 465.9 kB / 0.572 GB, free: 11.85 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.211, allocations: 37.69 kB / 0.572 GB, free: 11.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002739/0.2112, allocations: 288.5 kB / 0.5723 GB, free: 11.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.2114, allocations: 142.7 kB / 0.5724 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.2115, allocations: 73.69 kB / 0.5725 GB, free: 11.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.2117, allocations: 362.8 kB / 0.5729 GB, free: 10.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.2119, allocations: 132.3 kB / 0.573 GB, free: 10.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000287/0.2122, allocations: 205.3 kB / 0.5732 GB, free: 10.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005481/0.2128, allocations: 374.5 kB / 0.5735 GB, free: 10.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.2128, allocations: 3.938 kB / 0.5735 GB, free: 10.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007118/0.2135, allocations: 437.3 kB / 0.574 GB, free: 9.754 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.2135, allocations: 8 kB / 0.574 GB, free: 9.746 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.2135, allocations: 0 / 0.574 GB, free: 9.746 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.2135, allocations: 4 kB / 0.574 GB, free: 9.742 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/0.2139, allocations: 75.83 kB / 0.574 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.2139, allocations: 8.219 kB / 0.574 GB, free: 9.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.2141, allocations: 47.56 kB / 0.5741 GB, free: 9.613 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-05/0.2141, allocations: 15.98 kB / 0.5741 GB, free: 9.598 MB / 446.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.0003393/0.2145, allocations: 257.6 kB / 0.5744 GB, free: 9.336 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.648e-05/0.2146, allocations: 51.67 kB / 0.5744 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00205/0.2166, allocations: 1.77 MB / 0.5761 GB, free: 7.512 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.483e-05/0.2167, allocations: 27.95 kB / 0.5762 GB, free: 7.484 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2167, allocations: 3.938 kB / 0.5762 GB, free: 7.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.2167, allocations: 7.984 kB / 0.5762 GB, free: 7.473 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.2179, allocations: 1.001 MB / 0.5771 GB, free: 6.418 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.2179, allocations: 0 / 0.5771 GB, free: 6.418 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.2182, allocations: 51.97 kB / 0.5772 GB, free: 6.367 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.2182, allocations: 4 kB / 0.5772 GB, free: 6.363 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.2182, allocations: 4 kB / 0.5772 GB, free: 6.359 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.2182, allocations: 4 kB / 0.5772 GB, free: 6.355 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2182, allocations: 0 / 0.5772 GB, free: 6.355 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.2194, allocations: 1.003 MB / 0.5782 GB, free: 5.332 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001718/0.2196, allocations: 168.2 kB / 0.5783 GB, free: 5.148 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.173e-05/0.2196, allocations: 8 kB / 0.5784 GB, free: 5.141 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.2198, allocations: 19.97 kB / 0.5784 GB, free: 5.121 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.2198, allocations: 23.91 kB / 0.5784 GB, free: 5.098 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/0.2199, allocations: 15.98 kB / 0.5784 GB, free: 5.082 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000391/0.2203, allocations: 335.1 kB / 0.5787 GB, free: 4.758 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2203, allocations: 0 / 0.5787 GB, free: 4.758 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001528/0.2218, allocations: 0.5344 MB / 0.5793 GB, free: 4.223 MB / 446.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.00327/0.2251, allocations: 1.953 MB / 0.5812 GB, free: 2.242 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008221/0.2259, allocations: 0.5207 MB / 0.5817 GB, free: 1.723 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2259, allocations: 4.062 kB / 0.5817 GB, free: 1.719 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004527/0.2263, allocations: 354 kB / 0.582 GB, free: 1.375 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.2279, allocations: 293.3 kB / 0.5823 GB, free: 1.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007504/0.2354, allocations: 5.48 MB / 0.5876 GB, free: 11.47 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007385/0.2361, allocations: 1.049 MB / 0.5887 GB, free: 10.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005949/0.2367, allocations: 276 kB / 0.5889 GB, free: 10.13 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003467/0.2371, allocations: 275.3 kB / 0.5892 GB, free: 9.859 MB / 462.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2371, allocations: 0 / 0.5892 GB, free: 9.859 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05817/0.2952, allocations: 28.75 MB / 0.6173 GB, free: 13 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.79, allocations: 7.688 kB / 0.6173 GB, free: 12.99 MB / 494.1 MB " [Timeout remaining time 649] (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: 13.965025621000677] Failed to read output from testmodel.py, exit status != 0: 10.928971072018612 10.946211093 10.785667017 Calling exit ...