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.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.001354/0.001354, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001404/0.001404, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.444/1.444, allocations: 207.6 MB / 231.1 MB, free: 4.117 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.4134/0.4134, allocations: 49.51 MB / 332.5 MB, free: 0.6836 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.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.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.002128/0.002128, allocations: 68.94 kB / 470.8 MB, free: 40.98 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.107, allocations: 62.33 MB / 0.5207 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.02022/0.1272, allocations: 16.18 MB / 0.5365 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01735/0.1446, allocations: 13.61 MB / 0.5498 GB, free: 4.402 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002933/0.1449, allocations: 4 kB / 0.5498 GB, free: 4.398 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005987/0.1454, allocations: 139.2 kB / 0.5499 GB, free: 4.262 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005242/0.146, allocations: 202.8 kB / 0.5501 GB, free: 4.062 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01521/0.1612, allocations: 5.322 MB / 0.5553 GB, free: 14.72 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002187/0.1634, allocations: 1.954 MB / 0.5572 GB, free: 12.76 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002184/0.1636, allocations: 85.66 kB / 0.5573 GB, free: 12.67 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008979/0.1645, allocations: 0.6239 MB / 0.5579 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001213/0.1657, allocations: 0.799 MB / 0.5587 GB, free: 11.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002308/0.1659, allocations: 140 kB / 0.5588 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01378/0.1797, allocations: 6.79 MB / 0.5654 GB, free: 4.309 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006256/0.1803, allocations: 474.9 kB / 0.5659 GB, free: 3.844 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008488/0.1812, allocations: 0.5761 MB / 0.5665 GB, free: 3.266 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01227/0.1935, allocations: 5.039 MB / 0.5714 GB, free: 14.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.1935, allocations: 0 / 0.5714 GB, free: 14.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1935, allocations: 0 / 0.5714 GB, free: 14.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.421e-05/0.1935, allocations: 0 / 0.5714 GB, free: 14.21 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.01049/0.204, allocations: 2.629 MB / 0.5739 GB, free: 11.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.204, allocations: 11.89 kB / 0.574 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002574/0.2043, allocations: 155.1 kB / 0.5741 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001785/0.2061, allocations: 296.2 kB / 0.5744 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.2071, allocations: 0.5856 MB / 0.575 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009884/0.2081, allocations: 462.1 kB / 0.5754 GB, free: 9.961 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000266/0.2084, allocations: 72 kB / 0.5755 GB, free: 9.891 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009482/0.2179, allocations: 3.371 MB / 0.5788 GB, free: 6.512 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.2179, allocations: 4 kB / 0.5788 GB, free: 6.508 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001941/0.2181, allocations: 28 kB / 0.5788 GB, free: 6.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.981e-05/0.2181, allocations: 49.98 kB / 0.5788 GB, free: 6.434 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01586/0.234, allocations: 5.397 MB / 0.5841 GB, free: 1.027 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01704/0.251, allocations: 10.1 MB / 0.594 GB, free: 6.438 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008285/0.2593, allocations: 2.641 MB / 0.5965 GB, free: 3.781 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006787/0.2661, allocations: 2.201 MB / 0.5987 GB, free: 1.578 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.36/0.6261, allocations: 53.65 MB / 0.6511 GB, free: 114.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.117e-05/0.6261, allocations: 43.53 kB / 0.6511 GB, free: 114.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 4.578e-06/0.6261, allocations: 1.375 kB / 0.6511 GB, free: 114.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.02305/0.6492, allocations: 6.638 MB / 0.6576 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.6492, allocations: 60.34 kB / 0.6577 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.6495, allocations: 245 kB / 0.6579 GB, free: 113.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.00027/0.6498, allocations: 41.67 kB / 0.6579 GB, free: 113.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.6499, allocations: 254.4 kB / 0.6582 GB, free: 113.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004129/0.6503, allocations: 323.4 kB / 0.6585 GB, free: 113 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006962/0.651, allocations: 283.3 kB / 0.6588 GB, free: 112.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.76e-05/0.6511, allocations: 354.3 kB / 0.6591 GB, free: 112.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005594/0.6567, allocations: 2.146 MB / 0.6612 GB, free: 111.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005816/0.6625, allocations: 2.251 MB / 0.6634 GB, free: 110.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01027/0.6728, allocations: 3.407 MB / 0.6667 GB, free: 107.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.6728, allocations: 0 / 0.6667 GB, free: 107.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0119/0.6847, allocations: 4.132 MB / 0.6708 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.6847, allocations: 10.91 kB / 0.6708 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.6847, allocations: 4 kB / 0.6708 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/0.6847, allocations: 5.031 kB / 0.6708 GB, free: 103.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003304/0.688, allocations: 0.8267 MB / 0.6716 GB, free: 102.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.683e-05/0.6881, allocations: 4 kB / 0.6716 GB, free: 102.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002743/0.6908, allocations: 0.6048 MB / 0.6722 GB, free: 101.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002569/0.6911, allocations: 91.81 kB / 0.6723 GB, free: 101.8 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.0006812/0.6918, allocations: 276.8 kB / 0.6725 GB, free: 101.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003971/0.6921, allocations: 51.7 kB / 0.6726 GB, free: 101.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01349/0.7056, allocations: 6.52 MB / 0.6789 GB, free: 94.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01249/0.7181, allocations: 5.937 MB / 0.6847 GB, free: 89.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.691e-05/0.7181, allocations: 2.156 kB / 0.6847 GB, free: 89.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/0.7182, allocations: 3.984 kB / 0.6848 GB, free: 89.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01786/0.736, allocations: 9.1 MB / 0.6936 GB, free: 79.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.736, allocations: 0 / 0.6936 GB, free: 79.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003333/0.7394, allocations: 0.8073 MB / 0.6944 GB, free: 79.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.787e-05/0.7394, allocations: 4 kB / 0.6944 GB, free: 79.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002896/0.7397, allocations: 79.81 kB / 0.6945 GB, free: 79.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.707e-06/0.7397, allocations: 4 kB / 0.6945 GB, free: 79.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.7397, allocations: 7.875 kB / 0.6945 GB, free: 79.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0122/0.7519, allocations: 4.839 MB / 0.6992 GB, free: 74.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002241/0.7521, allocations: 194.8 kB / 0.6994 GB, free: 73.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002866/0.7524, allocations: 20.88 kB / 0.6994 GB, free: 73.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002702/0.7551, allocations: 0.5578 MB / 0.7 GB, free: 73.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003443/0.7554, allocations: 152.6 kB / 0.7001 GB, free: 73.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002428/0.7557, allocations: 87.81 kB / 0.7002 GB, free: 73.17 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001974/0.7559, allocations: 190 kB / 0.7004 GB, free: 72.98 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.7559, allocations: 0 / 0.7004 GB, free: 72.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003515/0.7594, allocations: 1.294 MB / 0.7017 GB, free: 71.69 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.01743/0.7768, allocations: 6.442 MB / 0.708 GB, free: 65.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01258/0.7894, allocations: 4.806 MB / 0.7127 GB, free: 60.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.7894, allocations: 2.625 kB / 0.7127 GB, free: 60.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006351/0.7958, allocations: 2.535 MB / 0.7151 GB, free: 57.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/0.7978, allocations: 353.1 kB / 0.7155 GB, free: 57.64 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04395/0.8417, allocations: 18.55 MB / 0.7336 GB, free: 38.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005831/0.8423, allocations: 1.117 MB / 0.7347 GB, free: 37.78 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002007/0.8443, allocations: 0.7216 MB / 0.7354 GB, free: 37.06 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001385/0.8457, allocations: 486.9 kB / 0.7358 GB, free: 36.58 MB / 0.4981 GB Notification: Performance of SimCode: time 1.273e-06/0.8457, allocations: 3.938 kB / 0.7358 GB, free: 36.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1077/0.9534, allocations: 66.9 MB / 0.8012 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/12.42, allocations: 8 kB / 0.8012 GB, free: 1.438 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 & python3 -m fmpy simulate --output-file ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.78668162599206] Failed to read output from testmodel.py, exit status != 0: 12.528707845005556 12.55886012 12.35990913 Calling exit ...