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.001523/0.001523, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001721/0.001721, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.599/1.599, allocations: 207.7 MB / 234.6 MB, free: 9.805 MB / 190.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.3381/0.3381, allocations: 49.6 MB / 336.4 MB, free: 3.883 MB / 270.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.002378/0.002378, allocations: 75.89 kB / 476.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1363, allocations: 62.42 MB / 0.5262 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.3063/0.4427, allocations: 14.73 MB / 0.5406 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0164/0.4591, allocations: 11.94 MB / 0.5522 GB, free: 8.852 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003742/0.4594, allocations: 6.75 kB / 0.5522 GB, free: 8.848 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006191/0.4601, allocations: 118.8 kB / 0.5523 GB, free: 8.801 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005838/0.4607, allocations: 208.5 kB / 0.5525 GB, free: 8.691 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02097/0.4816, allocations: 5.302 MB / 0.5577 GB, free: 7.062 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002915/0.4845, allocations: 1.961 MB / 0.5596 GB, free: 6.238 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002226/0.4848, allocations: 60.03 kB / 0.5597 GB, free: 6.215 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.4859, allocations: 0.6296 MB / 0.5603 GB, free: 5.996 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001443/0.4874, allocations: 0.7603 MB / 0.561 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003068/0.4877, allocations: 137.5 kB / 0.5612 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01641/0.5041, allocations: 6.496 MB / 0.5675 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007013/0.5048, allocations: 478.6 kB / 0.568 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009247/0.5057, allocations: 0.5166 MB / 0.5685 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01408/0.5198, allocations: 5.047 MB / 0.5734 GB, free: 15.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.5198, allocations: 0 / 0.5734 GB, free: 15.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.5198, allocations: 0 / 0.5734 GB, free: 15.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.95e-05/0.5198, allocations: 0 / 0.5734 GB, free: 15.32 MB / 430.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.01259/0.5324, allocations: 2.555 MB / 0.5759 GB, free: 13.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.5325, allocations: 9.031 kB / 0.5759 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002636/0.5327, allocations: 146.3 kB / 0.576 GB, free: 13.76 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001864/0.5346, allocations: 293.8 kB / 0.5763 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/0.5363, allocations: 0.5376 MB / 0.5769 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001653/0.538, allocations: 1.113 MB / 0.5779 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002983/0.5383, allocations: 69.62 kB / 0.578 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0105/0.5488, allocations: 3.369 MB / 0.5813 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/0.5488, allocations: 3.938 kB / 0.5813 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002013/0.549, allocations: 26.38 kB / 0.5813 GB, free: 10.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.312e-05/0.5491, allocations: 55.5 kB / 0.5814 GB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01645/0.5656, allocations: 5.385 MB / 0.5866 GB, free: 7.117 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01917/0.5847, allocations: 7.906 MB / 0.5944 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008422/0.5932, allocations: 2.645 MB / 0.5969 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007137/0.6003, allocations: 2.197 MB / 0.5991 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1087/0.709, allocations: 28.01 MB / 0.6264 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.196e-05/0.709, allocations: 43.56 kB / 0.6265 GB, free: 14.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=88): time 2.795e-06/0.709, allocations: 4 kB / 0.6265 GB, free: 14.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=88): time 0.02356/0.7326, allocations: 6.63 MB / 0.633 GB, free: 7.559 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.319e-05/0.7327, allocations: 68.34 kB / 0.633 GB, free: 7.477 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004069/0.7331, allocations: 252.8 kB / 0.6333 GB, free: 7.219 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003549/0.7334, allocations: 41.7 kB / 0.6333 GB, free: 7.172 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.7337, allocations: 253.1 kB / 0.6335 GB, free: 6.918 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004757/0.7341, allocations: 325.2 kB / 0.6339 GB, free: 6.598 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006584/0.7348, allocations: 278.3 kB / 0.6341 GB, free: 6.32 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.735, allocations: 354.8 kB / 0.6345 GB, free: 5.965 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00697/0.742, allocations: 2.148 MB / 0.6366 GB, free: 3.812 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007226/0.7492, allocations: 2.255 MB / 0.6388 GB, free: 1.527 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01232/0.7615, allocations: 3.398 MB / 0.6421 GB, free: 14.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/0.7615, allocations: 8.75 kB / 0.6421 GB, free: 14.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01426/0.7758, allocations: 4.137 MB / 0.6461 GB, free: 9.938 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.7758, allocations: 4 kB / 0.6461 GB, free: 9.934 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.7758, allocations: 7.984 kB / 0.6461 GB, free: 9.926 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/0.7759, allocations: 7.938 kB / 0.6461 GB, free: 9.918 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00405/0.7799, allocations: 0.8232 MB / 0.647 GB, free: 9.094 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.897e-05/0.7799, allocations: 7.938 kB / 0.647 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003227/0.7832, allocations: 0.6015 MB / 0.6475 GB, free: 8.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002708/0.7834, allocations: 91.81 kB / 0.6476 GB, free: 8.395 MB / 494.1 MB 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.0008174/0.7842, allocations: 273.5 kB / 0.6479 GB, free: 8.117 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003638/0.7846, allocations: 47.72 kB / 0.6479 GB, free: 8.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01708/0.8017, allocations: 6.641 MB / 0.6544 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01537/0.8171, allocations: 6.042 MB / 0.6603 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.8171, allocations: 0 / 0.6603 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/0.8171, allocations: 11.97 kB / 0.6603 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02277/0.8399, allocations: 8.934 MB / 0.6691 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/0.8399, allocations: 5.625 kB / 0.6691 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003838/0.8437, allocations: 0.8034 MB / 0.6699 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-05/0.8437, allocations: 11.94 kB / 0.6699 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000245/0.844, allocations: 79.81 kB / 0.6699 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/0.844, allocations: 4 kB / 0.6699 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.844, allocations: 0 / 0.6699 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01463/0.8586, allocations: 4.874 MB / 0.6747 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003254/0.8589, allocations: 130.8 kB / 0.6748 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002957/0.8592, allocations: 19.94 kB / 0.6748 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002978/0.8622, allocations: 0.5617 MB / 0.6754 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003567/0.8626, allocations: 144.6 kB / 0.6755 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002171/0.8628, allocations: 83.81 kB / 0.6756 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002521/0.863, allocations: 197.2 kB / 0.6758 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.1e-08/0.863, allocations: 0 / 0.6758 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004854/0.8679, allocations: 1.279 MB / 0.6771 GB, free: 10.14 MB / 0.5137 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.02048/0.8884, allocations: 6.493 MB / 0.6834 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01483/0.9032, allocations: 4.838 MB / 0.6881 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/0.9032, allocations: 0 / 0.6881 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007648/0.9109, allocations: 2.543 MB / 0.6906 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/0.9131, allocations: 335.5 kB / 0.6909 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05549/0.9685, allocations: 18.6 MB / 0.7091 GB, free: 9.129 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006273/0.9692, allocations: 0.519 MB / 0.7096 GB, free: 8.574 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002365/0.9715, allocations: 0.715 MB / 0.7103 GB, free: 7.859 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001463/0.973, allocations: 486.9 kB / 0.7108 GB, free: 7.383 MB / 0.545 GB Notification: Performance of SimCode: time 9.92e-07/0.973, allocations: 0 / 0.7108 GB, free: 7.383 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3908/1.364, allocations: 70.09 MB / 0.7792 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.95/16.31, allocations: 8.094 kB / 0.7792 GB, free: 203.1 MB / 0.5919 GB " [Timeout remaining time 644] (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: 19.962921280879527] Failed to read output from testmodel.py, exit status != 0: 16.466370732989162 16.490989509 15.96577204 Calling exit ...