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.001364/0.001364, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.00158/0.00158, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.415/1.415, allocations: 207.6 MB / 234.5 MB, free: 10.01 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.3034/0.3034, allocations: 49.57 MB / 336.3 MB, free: 4.117 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.002219/0.002219, allocations: 68.41 kB / 476.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1271, allocations: 62.43 MB / 0.5262 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.2418/0.3689, allocations: 16.25 MB / 0.542 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01318/0.3821, allocations: 13.64 MB / 0.5553 GB, free: 7.121 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003145/0.3824, allocations: 9.938 kB / 0.5554 GB, free: 7.113 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004413/0.3828, allocations: 135.5 kB / 0.5555 GB, free: 7.051 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003823/0.3832, allocations: 201.6 kB / 0.5557 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01611/0.3993, allocations: 5.343 MB / 0.5609 GB, free: 5.027 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002307/0.4016, allocations: 1.966 MB / 0.5628 GB, free: 4.203 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.4018, allocations: 56.06 kB / 0.5629 GB, free: 4.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009111/0.4027, allocations: 0.6251 MB / 0.5635 GB, free: 3.965 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00128/0.404, allocations: 0.8039 MB / 0.5643 GB, free: 3.691 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002191/0.4042, allocations: 136 kB / 0.5644 GB, free: 3.691 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01411/0.4183, allocations: 6.806 MB / 0.571 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004676/0.4188, allocations: 483 kB / 0.5715 GB, free: 400 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007514/0.4196, allocations: 0.5676 MB / 0.5721 GB, free: 12 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01172/0.4313, allocations: 5.041 MB / 0.577 GB, free: 12.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.4313, allocations: 3.984 kB / 0.577 GB, free: 12.78 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4313, allocations: 1.438 kB / 0.577 GB, free: 12.78 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.4313, allocations: 0 / 0.577 GB, free: 12.78 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.01054/0.4418, allocations: 2.554 MB / 0.5795 GB, free: 11.33 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.4419, allocations: 8.906 kB / 0.5795 GB, free: 11.33 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002546/0.4421, allocations: 146.1 kB / 0.5796 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/0.4439, allocations: 299.6 kB / 0.5799 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.4451, allocations: 0.5368 MB / 0.5804 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001411/0.4465, allocations: 1.112 MB / 0.5815 GB, free: 9.578 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002523/0.4468, allocations: 70.28 kB / 0.5816 GB, free: 9.555 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00928/0.456, allocations: 3.373 MB / 0.5849 GB, free: 7.738 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.4561, allocations: 0.9062 kB / 0.5849 GB, free: 7.738 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001849/0.4563, allocations: 30.56 kB / 0.5849 GB, free: 7.715 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-05/0.4563, allocations: 48.23 kB / 0.585 GB, free: 7.707 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01504/0.4713, allocations: 5.399 MB / 0.5902 GB, free: 4.219 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01803/0.4894, allocations: 10.06 MB / 0.6 GB, free: 9.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007901/0.4973, allocations: 2.641 MB / 0.6026 GB, free: 7.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006497/0.5038, allocations: 2.2 MB / 0.6048 GB, free: 4.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1014/0.6052, allocations: 27.91 MB / 0.632 GB, free: 8.875 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.636e-05/0.6053, allocations: 39.56 kB / 0.6321 GB, free: 8.828 MB / 478.1 MB Notification: Performance of pre-optimization done (n=88): time 3.957e-06/0.6053, allocations: 2.484 kB / 0.6321 GB, free: 8.828 MB / 478.1 MB Notification: Performance of matching and sorting (n=88): time 0.02192/0.6272, allocations: 6.638 MB / 0.6386 GB, free: 2.18 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.6272, allocations: 60.41 kB / 0.6386 GB, free: 2.109 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000331/0.6276, allocations: 252.9 kB / 0.6389 GB, free: 1.855 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002274/0.6278, allocations: 41.7 kB / 0.6389 GB, free: 1.809 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.628, allocations: 249.2 kB / 0.6391 GB, free: 1.559 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004549/0.6284, allocations: 325.2 kB / 0.6394 GB, free: 1.238 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006462/0.6291, allocations: 282.2 kB / 0.6397 GB, free: 0.957 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.6293, allocations: 358.8 kB / 0.6401 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00651/0.6358, allocations: 2.144 MB / 0.6421 GB, free: 14.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006691/0.6425, allocations: 2.255 MB / 0.6443 GB, free: 12.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01161/0.6541, allocations: 3.402 MB / 0.6477 GB, free: 8.727 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.6541, allocations: 4 kB / 0.6477 GB, free: 8.723 MB / 494.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01357/0.6677, allocations: 4.138 MB / 0.6517 GB, free: 4.574 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.6677, allocations: 4 kB / 0.6517 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.6677, allocations: 4 kB / 0.6517 GB, free: 4.566 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/0.6677, allocations: 7.938 kB / 0.6517 GB, free: 4.559 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003776/0.6715, allocations: 0.8229 MB / 0.6525 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.778e-05/0.6715, allocations: 4 kB / 0.6525 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003052/0.6746, allocations: 0.6043 MB / 0.6531 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003047/0.6749, allocations: 91.81 kB / 0.6532 GB, free: 3.035 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.0007188/0.6756, allocations: 273.5 kB / 0.6535 GB, free: 2.758 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003466/0.676, allocations: 51.72 kB / 0.6535 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01595/0.6919, allocations: 6.642 MB / 0.66 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01493/0.7068, allocations: 6.042 MB / 0.6659 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/0.7069, allocations: 0 / 0.6659 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.845e-05/0.7069, allocations: 7.984 kB / 0.6659 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02179/0.7287, allocations: 9.23 MB / 0.6749 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.383e-06/0.7287, allocations: 3.938 kB / 0.6749 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003648/0.7323, allocations: 0.7995 MB / 0.6757 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.479e-05/0.7323, allocations: 4 kB / 0.6757 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002054/0.7325, allocations: 83.8 kB / 0.6758 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.7326, allocations: 4 kB / 0.6758 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.7326, allocations: 0 / 0.6758 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01376/0.7463, allocations: 4.878 MB / 0.6806 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002439/0.7466, allocations: 114.8 kB / 0.6807 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002791/0.7468, allocations: 20.86 kB / 0.6807 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002827/0.7497, allocations: 0.5656 MB / 0.6813 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003541/0.75, allocations: 144.6 kB / 0.6814 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002179/0.7502, allocations: 87.81 kB / 0.6815 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000247/0.7505, allocations: 189.2 kB / 0.6817 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7505, allocations: 0 / 0.6817 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004525/0.755, allocations: 1.283 MB / 0.6829 GB, free: 4.492 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.02013/0.7751, allocations: 6.498 MB / 0.6893 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01448/0.7896, allocations: 4.825 MB / 0.694 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.7896, allocations: 0 / 0.694 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.009379/0.799, allocations: 2.551 MB / 0.6965 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002771/0.8018, allocations: 348 kB / 0.6968 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06261/0.8644, allocations: 18.6 MB / 0.7149 GB, free: 3.465 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007924/0.8652, allocations: 1.125 MB / 0.716 GB, free: 2.312 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002168/0.8673, allocations: 0.715 MB / 0.7167 GB, free: 1.594 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001411/0.8688, allocations: 490.9 kB / 0.7172 GB, free: 1.113 MB / 0.545 GB Notification: Performance of SimCode: time 9.12e-07/0.8688, allocations: 0 / 0.7172 GB, free: 1.113 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3363/1.205, allocations: 68.72 MB / 0.7843 GB, free: 202.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.6/15.8, allocations: 6.938 kB / 0.7843 GB, free: 202.9 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.084805339000013] Failed to read output from testmodel.py, exit status != 0: 15.952229334998265 15.970631593 15.535594945 Calling exit ...