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.0007892/0.0007892, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008158/0.0008158, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8176/0.8176, allocations: 158.6 MB / 185.7 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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.1798/0.1798, allocations: 36.35 MB / 274.3 MB, free: 10.89 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 414.4 MB, free: 6.062 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.387e-05/1.547e-05, allocations: 2.281 kB / 414.4 MB, free: 6.059 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01149/0.01151, allocations: 14.71 MB / 429.1 MB, free: 7.293 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.1612/0.1727, allocations: 11.92 MB / 441 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.1729, allocations: 5.906 kB / 441 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003706/0.1733, allocations: 120 kB / 441.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002843/0.1736, allocations: 206.2 kB / 441.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01014/0.1837, allocations: 5.376 MB / 446.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001298/0.185, allocations: 2.002 MB / 448.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.1852, allocations: 56.3 kB / 448.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008505/0.186, allocations: 0.8526 MB / 449.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008746/0.1869, allocations: 0.7427 MB / 450.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002069/0.1871, allocations: 136.2 kB / 450.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009724/0.1968, allocations: 6.502 MB / 457 MB, free: 11.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000327/0.1972, allocations: 491.8 kB / 457.5 MB, free: 11.42 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000563/0.1977, allocations: 488.8 kB / 457.9 MB, free: 11.15 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007383/0.2051, allocations: 6.238 MB / 464.2 MB, free: 7.129 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.2051, allocations: 4 kB / 464.2 MB, free: 7.125 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2051, allocations: 0 / 464.2 MB, free: 7.125 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.2051, allocations: 1.281 kB / 464.2 MB, free: 7.125 MB / 362.7 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.005052/0.2102, allocations: 2.544 MB / 466.7 MB, free: 5.691 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.2102, allocations: 8.625 kB / 466.7 MB, free: 5.691 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001474/0.2104, allocations: 146.8 kB / 466.9 MB, free: 5.574 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008931/0.2113, allocations: 298.1 kB / 467.2 MB, free: 5.434 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006423/0.2119, allocations: 0.5304 MB / 467.7 MB, free: 5.062 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005446/0.2125, allocations: 1.109 MB / 468.8 MB, free: 3.973 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/0.2126, allocations: 70.95 kB / 468.9 MB, free: 3.949 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00453/0.2172, allocations: 3.379 MB / 472.3 MB, free: 1.273 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.2172, allocations: 4 kB / 472.3 MB, free: 1.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.2173, allocations: 28 kB / 472.3 MB, free: 1.242 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.986e-05/0.2174, allocations: 49.98 kB / 472.3 MB, free: 1.191 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008211/0.2256, allocations: 5.389 MB / 477.7 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008953/0.2345, allocations: 7.926 MB / 485.7 MB, free: 3.895 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004146/0.2387, allocations: 2.641 MB / 488.3 MB, free: 1.242 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003387/0.2421, allocations: 2.197 MB / 490.5 MB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04592/0.288, allocations: 28.01 MB / 0.5063 GB, free: 3.035 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.288, allocations: 43.06 kB / 0.5064 GB, free: 2.988 MB / 410.7 MB Notification: Performance of pre-optimization done (n=88): time 3.216e-06/0.288, allocations: 0 / 0.5064 GB, free: 2.988 MB / 410.7 MB Notification: Performance of matching and sorting (n=88): time 0.01204/0.3001, allocations: 6.628 MB / 0.5129 GB, free: 12.35 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.3001, allocations: 60.41 kB / 0.5129 GB, free: 12.28 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.3003, allocations: 257.6 kB / 0.5132 GB, free: 12.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001118/0.3004, allocations: 41.7 kB / 0.5132 GB, free: 11.97 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.3005, allocations: 259 kB / 0.5134 GB, free: 11.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/0.3008, allocations: 312.9 kB / 0.5137 GB, free: 11.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003816/0.3012, allocations: 282.2 kB / 0.514 GB, free: 11.13 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.306e-05/0.3013, allocations: 362.8 kB / 0.5144 GB, free: 10.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003421/0.3047, allocations: 2.144 MB / 0.5165 GB, free: 8.621 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003501/0.3082, allocations: 2.254 MB / 0.5187 GB, free: 6.336 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006002/0.3142, allocations: 3.399 MB / 0.522 GB, free: 2.914 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.3142, allocations: 0 / 0.522 GB, free: 2.914 MB / 426.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.007092/0.3213, allocations: 4.146 MB / 0.526 GB, free: 14.77 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.3213, allocations: 6.5 kB / 0.526 GB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.3213, allocations: 4 kB / 0.526 GB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.3213, allocations: 4 kB / 0.526 GB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/0.3231, allocations: 0.8209 MB / 0.5268 GB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.3231, allocations: 7.938 kB / 0.5268 GB, free: 13.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.3246, allocations: 0.6152 MB / 0.5275 GB, free: 13.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/0.3247, allocations: 91.81 kB / 0.5275 GB, free: 13.23 MB / 442.7 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.0004635/0.3252, allocations: 279.3 kB / 0.5278 GB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.3254, allocations: 47.72 kB / 0.5278 GB, free: 12.92 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008433/0.3338, allocations: 6.645 MB / 0.5343 GB, free: 6.266 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00784/0.3417, allocations: 6.059 MB / 0.5403 GB, free: 192 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.3417, allocations: 3.469 kB / 0.5403 GB, free: 192 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.3417, allocations: 8.797 kB / 0.5403 GB, free: 184 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01135/0.353, allocations: 8.949 MB / 0.549 GB, free: 7.195 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.353, allocations: 4 kB / 0.549 GB, free: 7.191 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001689/0.3547, allocations: 0.8012 MB / 0.5498 GB, free: 6.398 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-06/0.3547, allocations: 7.75 kB / 0.5498 GB, free: 6.395 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.3548, allocations: 83.81 kB / 0.5499 GB, free: 6.312 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.3549, allocations: 5.312 kB / 0.5499 GB, free: 6.309 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3549, allocations: 4 kB / 0.5499 GB, free: 6.305 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007413/0.3623, allocations: 4.871 MB / 0.5546 GB, free: 1.41 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.3624, allocations: 126.8 kB / 0.5548 GB, free: 1.285 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.3625, allocations: 16 kB / 0.5548 GB, free: 1.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/0.3639, allocations: 0.5617 MB / 0.5553 GB, free: 0.707 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002108/0.3641, allocations: 148.6 kB / 0.5555 GB, free: 0.5625 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/0.3643, allocations: 83.81 kB / 0.5556 GB, free: 492 kB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001402/0.3644, allocations: 193.2 kB / 0.5557 GB, free: 296 kB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3644, allocations: 0 / 0.5557 GB, free: 296 kB / 458.7 MB Notification: Performance of remove unused functions: time 0.002811/0.3672, allocations: 1.287 MB / 0.557 GB, free: 15 MB / 474.7 MB 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.01102/0.3782, allocations: 6.616 MB / 0.5635 GB, free: 8.461 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007667/0.3859, allocations: 4.827 MB / 0.5682 GB, free: 3.629 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3859, allocations: 0 / 0.5682 GB, free: 3.629 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003797/0.3897, allocations: 2.543 MB / 0.5707 GB, free: 1.082 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.3908, allocations: 349 kB / 0.571 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02775/0.4186, allocations: 18.61 MB / 0.5892 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.4189, allocations: 0.519 MB / 0.5897 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001231/0.4202, allocations: 0.7188 MB / 0.5904 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009558/0.4211, allocations: 491.9 kB / 0.5908 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of SimCode: time 1.142e-06/0.4211, allocations: 0 / 0.5908 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2196/0.6407, allocations: 70.14 MB / 0.6593 GB, free: 150.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.178/9.819, allocations: 3.953 kB / 0.6593 GB, free: 150.2 MB / 0.5105 GB " [Timeout remaining time 650] (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: 12.149782615713775] Failed to read output from testmodel.py, exit status != 0: 9.933180983178318 9.940045686 9.733466953 Calling exit ...