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.001871/0.001871, allocations: 123.4 kB / 18.46 MB, free: 4.449 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.001718/0.001718, allocations: 192.3 kB / 21.4 MB, free: 1.52 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.384/1.384, allocations: 207.6 MB / 231.8 MB, free: 4.176 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.3988/0.3988, allocations: 49.51 MB / 333.2 MB, free: 0.7812 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: translateModel(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB") translateModel(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB") [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.002098/0.002098, allocations: 71.77 kB / 472 MB, free: 40.79 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0875/0.0896, allocations: 62.33 MB / 0.5218 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01971/0.1093, allocations: 16.17 MB / 0.5376 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01676/0.1261, allocations: 13.62 MB / 0.5509 GB, free: 3.922 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002052/0.1263, allocations: 0 / 0.5509 GB, free: 3.922 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004688/0.1267, allocations: 135.2 kB / 0.551 GB, free: 3.789 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003588/0.1271, allocations: 206.8 kB / 0.5512 GB, free: 3.586 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01376/0.1409, allocations: 5.322 MB / 0.5564 GB, free: 14.24 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002084/0.1429, allocations: 1.947 MB / 0.5583 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001961/0.1431, allocations: 89.66 kB / 0.5584 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007033/0.1438, allocations: 0.6199 MB / 0.559 GB, free: 11.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00126/0.1451, allocations: 0.799 MB / 0.5598 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002208/0.1453, allocations: 136 kB / 0.5599 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01368/0.159, allocations: 6.794 MB / 0.5665 GB, free: 3.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005861/0.1596, allocations: 474.9 kB / 0.567 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008625/0.1605, allocations: 0.5761 MB / 0.5676 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01075/0.1712, allocations: 5.035 MB / 0.5725 GB, free: 13.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1712, allocations: 4 kB / 0.5725 GB, free: 13.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1712, allocations: 0 / 0.5725 GB, free: 13.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.195e-05/0.1712, allocations: 0 / 0.5725 GB, free: 13.75 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.009967/0.1812, allocations: 2.625 MB / 0.575 GB, free: 11.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.1812, allocations: 11.89 kB / 0.575 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001806/0.183, allocations: 304.2 kB / 0.5753 GB, free: 10.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.1841, allocations: 0.5896 MB / 0.5759 GB, free: 10.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001002/0.1851, allocations: 462.2 kB / 0.5764 GB, free: 9.645 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002602/0.1853, allocations: 68 kB / 0.5764 GB, free: 9.578 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009673/0.195, allocations: 3.374 MB / 0.5797 GB, free: 6.195 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.195, allocations: 0 / 0.5797 GB, free: 6.195 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001931/0.1952, allocations: 24 kB / 0.5797 GB, free: 6.172 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.99e-05/0.1953, allocations: 57.97 kB / 0.5798 GB, free: 6.117 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0163/0.2116, allocations: 5.4 MB / 0.5851 GB, free: 0.707 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01731/0.2289, allocations: 10.09 MB / 0.5949 GB, free: 6.129 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008084/0.237, allocations: 2.637 MB / 0.5975 GB, free: 3.477 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006741/0.2438, allocations: 2.201 MB / 0.5996 GB, free: 1.273 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3316/0.5754, allocations: 53.66 MB / 0.652 GB, free: 114 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.5754, allocations: 46.22 kB / 0.6521 GB, free: 114 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 2.725e-06/0.5754, allocations: 1.25 kB / 0.6521 GB, free: 114 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.02125/0.5966, allocations: 6.635 MB / 0.6586 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.5967, allocations: 60.34 kB / 0.6586 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.5969, allocations: 248.5 kB / 0.6589 GB, free: 112.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002497/0.5972, allocations: 33.7 kB / 0.6589 GB, free: 112.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.5973, allocations: 256.1 kB / 0.6591 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003223/0.5976, allocations: 324.3 kB / 0.6594 GB, free: 112.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006068/0.5982, allocations: 280.9 kB / 0.6597 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.823e-05/0.5983, allocations: 354.1 kB / 0.6601 GB, free: 111.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005566/0.6038, allocations: 2.145 MB / 0.6621 GB, free: 110.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00584/0.6097, allocations: 2.256 MB / 0.6644 GB, free: 109.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0103/0.62, allocations: 3.4 MB / 0.6677 GB, free: 107 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.62, allocations: 0 / 0.6677 GB, free: 107 MB / 0.4981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01179/0.6318, allocations: 4.136 MB / 0.6717 GB, free: 102.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.6318, allocations: 10.62 kB / 0.6717 GB, free: 102.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.6318, allocations: 3.984 kB / 0.6717 GB, free: 102.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.6318, allocations: 12.28 kB / 0.6717 GB, free: 102.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003485/0.6353, allocations: 0.8199 MB / 0.6725 GB, free: 102 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.6353, allocations: 8 kB / 0.6725 GB, free: 102 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002683/0.638, allocations: 0.6068 MB / 0.6731 GB, free: 101.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002088/0.6382, allocations: 97.11 kB / 0.6732 GB, free: 101.3 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.000602/0.6388, allocations: 265.3 kB / 0.6735 GB, free: 101 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003095/0.6391, allocations: 51.72 kB / 0.6735 GB, free: 101 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/0.6524, allocations: 6.517 MB / 0.6799 GB, free: 94.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01231/0.6648, allocations: 5.94 MB / 0.6857 GB, free: 88.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.6648, allocations: 2.953 kB / 0.6857 GB, free: 88.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.6648, allocations: 7.969 kB / 0.6857 GB, free: 88.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01722/0.682, allocations: 9.092 MB / 0.6946 GB, free: 79.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.682, allocations: 0 / 0.6946 GB, free: 79.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003334/0.6853, allocations: 0.8034 MB / 0.6954 GB, free: 78.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.246e-05/0.6854, allocations: 4 kB / 0.6954 GB, free: 78.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002007/0.6856, allocations: 83.75 kB / 0.6955 GB, free: 78.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.6856, allocations: 8 kB / 0.6955 GB, free: 78.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.6856, allocations: 6.188 kB / 0.6955 GB, free: 78.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01176/0.6973, allocations: 4.839 MB / 0.7002 GB, free: 73.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.6975, allocations: 195.4 kB / 0.7004 GB, free: 73.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002263/0.6977, allocations: 16 kB / 0.7004 GB, free: 73.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002614/0.7003, allocations: 0.5726 MB / 0.701 GB, free: 72.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000293/0.7006, allocations: 136.6 kB / 0.7011 GB, free: 72.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000177/0.7008, allocations: 87.81 kB / 0.7012 GB, free: 72.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001496/0.701, allocations: 201.9 kB / 0.7014 GB, free: 72.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.701, allocations: 0 / 0.7014 GB, free: 72.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002916/0.7039, allocations: 1.289 MB / 0.7026 GB, free: 71.27 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.003399/0.7073, allocations: 1.147 MB / 0.7037 GB, free: 70.22 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01224/0.7195, allocations: 4.814 MB / 0.7084 GB, free: 65.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.7195, allocations: 4 kB / 0.7084 GB, free: 65.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006158/0.7257, allocations: 2.531 MB / 0.7109 GB, free: 62.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/0.7275, allocations: 349.7 kB / 0.7113 GB, free: 62.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009822/0.7373, allocations: 4.587 MB / 0.7157 GB, free: 57.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.7377, allocations: 1.117 MB / 0.7168 GB, free: 56.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001513/0.7392, allocations: 258.9 kB / 0.7171 GB, free: 56.51 MB / 0.4981 GB Notification: Performance of SimCode: time 1.372e-06/0.7392, allocations: 0 / 0.7171 GB, free: 56.51 MB / 0.4981 GB Notification: Performance of Templates: time 0.03673/0.7759, allocations: 37.31 MB / 0.7535 GB, free: 19.05 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.makefile [Timeout 660] (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 & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.685434974962845] Failed to read output from testmodel.py, exit status != 0: 0.783119997009635 0.791900733 0.61845688 Calling exit ...