Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 120.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 186.9 kB / 20.73 MB, free: 2.355 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.41/1.41, allocations: 207.6 MB / 231.1 MB, free: 4.105 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3924/0.3924, allocations: 49.51 MB / 332.5 MB, free: 0.7852 MB / 254.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 76.86 kB / 470.8 MB, free: 41.04 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09313/0.09529, allocations: 62.35 MB / 0.5206 GB, free: 2.348 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.02124/0.1165, allocations: 16.17 MB / 0.5364 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01908/0.1356, allocations: 13.61 MB / 0.5497 GB, free: 4.465 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002655/0.1359, allocations: 0 / 0.5497 GB, free: 4.465 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004948/0.1364, allocations: 135.2 kB / 0.5498 GB, free: 4.332 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004977/0.1369, allocations: 210.8 kB / 0.55 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01574/0.1526, allocations: 5.33 MB / 0.5553 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002214/0.1548, allocations: 1.95 MB / 0.5572 GB, free: 12.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/0.1551, allocations: 85.69 kB / 0.5572 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.1561, allocations: 0.6199 MB / 0.5578 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/0.1576, allocations: 0.799 MB / 0.5586 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003757/0.158, allocations: 136 kB / 0.5588 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01411/0.1721, allocations: 6.79 MB / 0.5654 GB, free: 4.375 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000746/0.1729, allocations: 482.9 kB / 0.5658 GB, free: 3.902 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001148/0.174, allocations: 0.5722 MB / 0.5664 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01089/0.1849, allocations: 5.039 MB / 0.5713 GB, free: 14.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1849, allocations: 0 / 0.5713 GB, free: 14.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1849, allocations: 0 / 0.5713 GB, free: 14.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.298e-05/0.1849, allocations: 0 / 0.5713 GB, free: 14.28 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.01032/0.1952, allocations: 2.633 MB / 0.5739 GB, free: 11.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.1953, allocations: 11.89 kB / 0.5739 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003689/0.1957, allocations: 147.2 kB / 0.574 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001998/0.1977, allocations: 304.2 kB / 0.5743 GB, free: 11.13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.1991, allocations: 0.5971 MB / 0.5749 GB, free: 10.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001005/0.2001, allocations: 454.2 kB / 0.5754 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003172/0.2004, allocations: 72 kB / 0.5754 GB, free: 9.945 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009757/0.2102, allocations: 3.374 MB / 0.5787 GB, free: 6.562 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/0.2102, allocations: 0 / 0.5787 GB, free: 6.562 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002895/0.2105, allocations: 24 kB / 0.5787 GB, free: 6.539 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8e-05/0.2106, allocations: 57.97 kB / 0.5788 GB, free: 6.484 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01618/0.2268, allocations: 5.4 MB / 0.5841 GB, free: 1.074 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01955/0.2463, allocations: 10.09 MB / 0.5939 GB, free: 6.5 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008214/0.2545, allocations: 2.641 MB / 0.5965 GB, free: 3.844 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006677/0.2612, allocations: 2.205 MB / 0.5987 GB, free: 1.637 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3431/0.6043, allocations: 53.65 MB / 0.651 GB, free: 114.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.289e-05/0.6043, allocations: 42.69 kB / 0.6511 GB, free: 114.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 3.427e-06/0.6043, allocations: 0 / 0.6511 GB, free: 114.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.02121/0.6255, allocations: 6.63 MB / 0.6576 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.6256, allocations: 64.22 kB / 0.6576 GB, free: 113.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.6258, allocations: 246.5 kB / 0.6579 GB, free: 113.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003287/0.6261, allocations: 41.52 kB / 0.6579 GB, free: 113.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.6263, allocations: 261 kB / 0.6581 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003142/0.6266, allocations: 321.2 kB / 0.6585 GB, free: 113 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005318/0.6271, allocations: 278.8 kB / 0.6587 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.331e-05/0.6272, allocations: 358.5 kB / 0.6591 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005247/0.6324, allocations: 2.145 MB / 0.6612 GB, free: 111.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005529/0.638, allocations: 2.25 MB / 0.6634 GB, free: 110.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009389/0.6473, allocations: 3.399 MB / 0.6667 GB, free: 107.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/0.6473, allocations: 8 kB / 0.6667 GB, free: 107.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01096/0.6583, allocations: 4.136 MB / 0.6707 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/0.6583, allocations: 6.625 kB / 0.6707 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.6584, allocations: 4 kB / 0.6707 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.6584, allocations: 4.984 kB / 0.6707 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003391/0.6618, allocations: 0.823 MB / 0.6715 GB, free: 102.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-05/0.6618, allocations: 4 kB / 0.6715 GB, free: 102.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002642/0.6644, allocations: 0.6096 MB / 0.6721 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002367/0.6647, allocations: 91.81 kB / 0.6722 GB, free: 101.7 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 8 (fluidState[6].phase,fluidState[5].phase,fluidState[4].phase,fluidState[3].phase,fluidState[2].phase,fluidState[1].phase,heatTransfer.dew.phase,heatTransfer.bubble.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.000591/0.6653, allocations: 277.5 kB / 0.6725 GB, free: 101.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000316/0.6656, allocations: 47.72 kB / 0.6725 GB, free: 101.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/0.6779, allocations: 6.52 MB / 0.6789 GB, free: 94.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01144/0.6894, allocations: 5.937 MB / 0.6847 GB, free: 88.94 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/0.6894, allocations: 4 kB / 0.6847 GB, free: 88.94 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.776e-05/0.6894, allocations: 3.984 kB / 0.6847 GB, free: 88.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01733/0.7068, allocations: 9.101 MB / 0.6936 GB, free: 79.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.7068, allocations: 0 / 0.6936 GB, free: 79.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003239/0.71, allocations: 0.7995 MB / 0.6944 GB, free: 79.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.822e-05/0.71, allocations: 7.984 kB / 0.6944 GB, free: 79.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003063/0.7103, allocations: 81.03 kB / 0.6945 GB, free: 78.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.978e-06/0.7103, allocations: 7.938 kB / 0.6945 GB, free: 78.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.7103, allocations: 3.938 kB / 0.6945 GB, free: 78.94 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0114/0.7217, allocations: 4.843 MB / 0.6992 GB, free: 74.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/0.7219, allocations: 193.5 kB / 0.6994 GB, free: 73.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002993/0.7222, allocations: 19.41 kB / 0.6994 GB, free: 73.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002514/0.7247, allocations: 0.5617 MB / 0.7 GB, free: 73.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00032/0.7251, allocations: 144.6 kB / 0.7001 GB, free: 73.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002114/0.7253, allocations: 91.8 kB / 0.7002 GB, free: 73.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001557/0.7254, allocations: 186 kB / 0.7004 GB, free: 72.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.7254, allocations: 0 / 0.7004 GB, free: 72.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003169/0.7286, allocations: 1.294 MB / 0.7016 GB, free: 71.68 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.01605/0.7447, allocations: 6.447 MB / 0.7079 GB, free: 65.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01157/0.7562, allocations: 4.811 MB / 0.7126 GB, free: 60.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/0.7562, allocations: 0 / 0.7126 GB, free: 60.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006142/0.7624, allocations: 2.531 MB / 0.7151 GB, free: 57.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002162/0.7645, allocations: 353.3 kB / 0.7154 GB, free: 57.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04095/0.8055, allocations: 18.55 MB / 0.7335 GB, free: 38.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.8059, allocations: 1.121 MB / 0.7346 GB, free: 37.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001917/0.8078, allocations: 0.714 MB / 0.7353 GB, free: 37.06 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00117/0.809, allocations: 493 kB / 0.7358 GB, free: 36.58 MB / 0.4981 GB Notification: Performance of SimCode: time 8.52e-07/0.809, allocations: 0 / 0.7358 GB, free: 36.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1034/0.9124, allocations: 66.89 MB / 0.8011 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.77, allocations: 12 kB / 0.8011 GB, free: 1.441 MB / 0.5294 GB " [Timeout remaining time 647] (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.238841274753213] Failed to read output from testmodel.py, exit status != 0: 12.881832215934992 12.896877015 12.708779043 Calling exit ...