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.001259/0.001259, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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.00134/0.00134, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.261/1.261, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 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.2743/0.2743, allocations: 49.57 MB / 337.1 MB, free: 4.109 MB / 270.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB",fmuType="cs",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.00204/0.00204, allocations: 71.89 kB / 477.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.106, allocations: 62.41 MB / 0.5269 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.2058/0.3118, allocations: 16.25 MB / 0.5428 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01228/0.3241, allocations: 13.64 MB / 0.5561 GB, free: 7.121 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002882/0.3244, allocations: 2.281 kB / 0.5561 GB, free: 7.121 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000414/0.3248, allocations: 140.2 kB / 0.5562 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003345/0.3251, allocations: 204.3 kB / 0.5564 GB, free: 6.949 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01491/0.34, allocations: 5.349 MB / 0.5617 GB, free: 5.023 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002683/0.3427, allocations: 1.957 MB / 0.5636 GB, free: 4.203 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.3429, allocations: 65.64 kB / 0.5636 GB, free: 4.172 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008646/0.3438, allocations: 0.6209 MB / 0.5642 GB, free: 3.961 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.3449, allocations: 0.7998 MB / 0.565 GB, free: 3.691 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002005/0.3451, allocations: 137.2 kB / 0.5652 GB, free: 3.691 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01257/0.3576, allocations: 6.809 MB / 0.5718 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004621/0.3581, allocations: 478.4 kB / 0.5723 GB, free: 396 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006889/0.3588, allocations: 0.5711 MB / 0.5728 GB, free: 4 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01081/0.3696, allocations: 5.042 MB / 0.5777 GB, free: 12.78 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3696, allocations: 0 / 0.5777 GB, free: 12.78 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3696, allocations: 0 / 0.5777 GB, free: 12.78 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.3696, allocations: 0 / 0.5777 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.01022/0.3798, allocations: 2.558 MB / 0.5802 GB, free: 11.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.3799, allocations: 9.969 kB / 0.5802 GB, free: 11.32 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.521e-05/0.3799, allocations: 19.72 kB / 0.5803 GB, free: 11.32 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002326/0.3802, allocations: 147.1 kB / 0.5804 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/0.3819, allocations: 300.8 kB / 0.5807 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.383, allocations: 0.5374 MB / 0.5812 GB, free: 10.67 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001364/0.3844, allocations: 1.117 MB / 0.5823 GB, free: 9.562 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002476/0.3846, allocations: 73.48 kB / 0.5824 GB, free: 9.539 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009156/0.3938, allocations: 3.371 MB / 0.5857 GB, free: 7.727 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.3938, allocations: 0 / 0.5857 GB, free: 7.727 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001961/0.394, allocations: 25.72 kB / 0.5857 GB, free: 7.707 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.906e-05/0.3941, allocations: 55.47 kB / 0.5857 GB, free: 7.695 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01503/0.4091, allocations: 5.394 MB / 0.591 GB, free: 4.172 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01668/0.4258, allocations: 10.06 MB / 0.6008 GB, free: 9.629 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007909/0.4337, allocations: 2.637 MB / 0.6034 GB, free: 6.977 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006511/0.4402, allocations: 2.205 MB / 0.6056 GB, free: 4.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09702/0.5372, allocations: 27.9 MB / 0.6328 GB, free: 8.836 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.058e-05/0.5373, allocations: 47.5 kB / 0.6329 GB, free: 8.781 MB / 478.1 MB Notification: Performance of pre-optimization done (n=88): time 2.805e-06/0.5373, allocations: 0 / 0.6329 GB, free: 8.781 MB / 478.1 MB Notification: Performance of matching and sorting (n=88): time 0.02172/0.559, allocations: 6.638 MB / 0.6393 GB, free: 2.133 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.559, allocations: 64.41 kB / 0.6394 GB, free: 2.059 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003211/0.5594, allocations: 244.9 kB / 0.6396 GB, free: 1.812 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002797/0.5596, allocations: 41.7 kB / 0.6397 GB, free: 1.766 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.5598, allocations: 249.1 kB / 0.6399 GB, free: 1.516 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004224/0.5602, allocations: 321.2 kB / 0.6402 GB, free: 1.199 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006762/0.5609, allocations: 290.2 kB / 0.6405 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.5611, allocations: 350.8 kB / 0.6408 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006426/0.5675, allocations: 2.152 MB / 0.6429 GB, free: 14.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006615/0.5741, allocations: 2.255 MB / 0.6451 GB, free: 12.11 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01157/0.5857, allocations: 3.398 MB / 0.6485 GB, free: 8.684 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.5857, allocations: 0 / 0.6485 GB, free: 8.684 MB / 494.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01322/0.5989, allocations: 4.138 MB / 0.6525 GB, free: 4.535 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.5989, allocations: 8 kB / 0.6525 GB, free: 4.527 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.599, allocations: 11.92 kB / 0.6525 GB, free: 4.516 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.599, allocations: 4 kB / 0.6525 GB, free: 4.512 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003801/0.6028, allocations: 0.8228 MB / 0.6533 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.612e-05/0.6028, allocations: 4 kB / 0.6533 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002934/0.6057, allocations: 0.6042 MB / 0.6539 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002465/0.606, allocations: 95.8 kB / 0.654 GB, free: 2.984 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.0006731/0.6067, allocations: 272.2 kB / 0.6543 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003148/0.607, allocations: 47.72 kB / 0.6543 GB, free: 2.664 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01563/0.6226, allocations: 6.634 MB / 0.6608 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01461/0.6372, allocations: 6.046 MB / 0.6667 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.88e-05/0.6372, allocations: 3.938 kB / 0.6667 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/0.6372, allocations: 7.969 kB / 0.6667 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0209/0.6581, allocations: 9.222 MB / 0.6757 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.6582, allocations: 4.062 kB / 0.6757 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003635/0.6618, allocations: 0.8034 MB / 0.6765 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.277e-05/0.6618, allocations: 4.875 kB / 0.6765 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002152/0.662, allocations: 79.81 kB / 0.6766 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.662, allocations: 4 kB / 0.6766 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.662, allocations: 0 / 0.6766 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01362/0.6756, allocations: 4.878 MB / 0.6814 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002237/0.6759, allocations: 126.8 kB / 0.6815 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002473/0.6761, allocations: 16 kB / 0.6815 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002782/0.6789, allocations: 0.5614 MB / 0.682 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003154/0.6792, allocations: 152.6 kB / 0.6822 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002152/0.6794, allocations: 83.81 kB / 0.6823 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000212/0.6796, allocations: 193.2 kB / 0.6824 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6796, allocations: 0 / 0.6824 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004103/0.6837, allocations: 1.283 MB / 0.6837 GB, free: 4.445 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.01921/0.703, allocations: 6.498 MB / 0.69 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01385/0.7168, allocations: 4.821 MB / 0.6948 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7168, allocations: 0 / 0.6948 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00702/0.7238, allocations: 2.547 MB / 0.6972 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/0.7259, allocations: 348 kB / 0.6976 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05016/0.776, allocations: 18.61 MB / 0.7157 GB, free: 3.414 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008114/0.7768, allocations: 1.121 MB / 0.7168 GB, free: 2.262 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002196/0.779, allocations: 0.7111 MB / 0.7175 GB, free: 1.551 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001404/0.7804, allocations: 490.9 kB / 0.718 GB, free: 1.07 MB / 0.545 GB Notification: Performance of SimCode: time 8.72e-07/0.7804, allocations: 0 / 0.718 GB, free: 1.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2877/1.068, allocations: 68.75 MB / 0.7851 GB, free: 202.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.34/15.41, allocations: 5.547 kB / 0.7851 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestHeatTransfer2phDB.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.19921055797022] Failed to read output from testmodel.py, exit status != 0: 15.616960046929307 15.63494843 15.262075569 Calling exit ...