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.001304/0.001304, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001406/0.001406, allocations: 214.7 kB / 24.52 MB, free: 3.914 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.429/1.429, allocations: 207.7 MB / 235.4 MB, free: 9.77 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.2879/0.2879, allocations: 49.6 MB / 337.2 MB, free: 3.949 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="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.003541/0.003541, allocations: 71.91 kB / 477.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1385, allocations: 62.43 MB / 0.5269 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.215/0.3535, allocations: 14.71 MB / 0.5413 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01297/0.3665, allocations: 11.93 MB / 0.553 GB, free: 8.852 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002656/0.3668, allocations: 6.469 kB / 0.553 GB, free: 8.848 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004219/0.3672, allocations: 120.5 kB / 0.5531 GB, free: 8.801 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.3675, allocations: 205.6 kB / 0.5533 GB, free: 8.691 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01558/0.3831, allocations: 5.31 MB / 0.5585 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002305/0.3854, allocations: 1.964 MB / 0.5604 GB, free: 6.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.3856, allocations: 63.89 kB / 0.5604 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008666/0.3865, allocations: 0.6215 MB / 0.561 GB, free: 5.992 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/0.3877, allocations: 0.7989 MB / 0.5618 GB, free: 5.723 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002344/0.3879, allocations: 137.6 kB / 0.562 GB, free: 5.723 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01488/0.4028, allocations: 6.736 MB / 0.5685 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005381/0.4033, allocations: 483.3 kB / 0.569 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008461/0.4042, allocations: 0.5167 MB / 0.5695 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01069/0.4149, allocations: 5.052 MB / 0.5744 GB, free: 15.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4149, allocations: 1.094 kB / 0.5744 GB, free: 15.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4149, allocations: 0 / 0.5744 GB, free: 15.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2e-05/0.4149, allocations: 0 / 0.5744 GB, free: 15.04 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.0103/0.4252, allocations: 2.55 MB / 0.5769 GB, free: 13.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.4252, allocations: 9.062 kB / 0.5769 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.301e-05/0.4253, allocations: 21.09 kB / 0.577 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000243/0.4255, allocations: 149.2 kB / 0.5771 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001809/0.4273, allocations: 298.2 kB / 0.5774 GB, free: 13.33 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.4284, allocations: 0.53 MB / 0.5779 GB, free: 12.94 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00127/0.4297, allocations: 1.112 MB / 0.579 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002769/0.43, allocations: 74.28 kB / 0.5791 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009083/0.4391, allocations: 3.367 MB / 0.5823 GB, free: 10.01 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.4391, allocations: 4 kB / 0.5823 GB, free: 10 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002039/0.4393, allocations: 25.75 kB / 0.5824 GB, free: 9.984 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-05/0.4394, allocations: 51.58 kB / 0.5824 GB, free: 9.973 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01462/0.454, allocations: 5.404 MB / 0.5877 GB, free: 6.797 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01593/0.4699, allocations: 7.902 MB / 0.5954 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007818/0.4777, allocations: 2.634 MB / 0.598 GB, free: 12.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006478/0.4842, allocations: 2.205 MB / 0.6001 GB, free: 9.973 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1/0.5843, allocations: 28.02 MB / 0.6275 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.169e-05/0.5843, allocations: 45.72 kB / 0.6275 GB, free: 13.88 MB / 478.1 MB Notification: Performance of pre-optimization done (n=88): time 3.086e-06/0.5843, allocations: 0 / 0.6275 GB, free: 13.88 MB / 478.1 MB Notification: Performance of matching and sorting (n=88): time 0.02203/0.6063, allocations: 6.63 MB / 0.634 GB, free: 7.238 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.6064, allocations: 64.41 kB / 0.6341 GB, free: 7.16 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.6067, allocations: 256.8 kB / 0.6343 GB, free: 6.898 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000233/0.607, allocations: 37.7 kB / 0.6344 GB, free: 6.855 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.6072, allocations: 245.2 kB / 0.6346 GB, free: 6.609 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005258/0.6077, allocations: 325.1 kB / 0.6349 GB, free: 6.289 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008793/0.6086, allocations: 286.2 kB / 0.6352 GB, free: 6.004 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.6088, allocations: 358.8 kB / 0.6355 GB, free: 5.645 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006332/0.6151, allocations: 2.144 MB / 0.6376 GB, free: 3.496 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006414/0.6215, allocations: 2.255 MB / 0.6398 GB, free: 1.207 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01121/0.6327, allocations: 3.402 MB / 0.6431 GB, free: 13.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.6328, allocations: 0 / 0.6431 GB, free: 13.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01294/0.6457, allocations: 4.145 MB / 0.6472 GB, free: 9.617 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.6457, allocations: 4 kB / 0.6472 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.6457, allocations: 7.938 kB / 0.6472 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.6457, allocations: 8 kB / 0.6472 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003667/0.6494, allocations: 0.8153 MB / 0.648 GB, free: 8.781 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.176e-05/0.6494, allocations: 12.69 kB / 0.648 GB, free: 8.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002923/0.6524, allocations: 0.6043 MB / 0.6486 GB, free: 8.164 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000267/0.6526, allocations: 87.81 kB / 0.6487 GB, free: 8.078 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.0007663/0.6534, allocations: 269.5 kB / 0.6489 GB, free: 7.805 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003653/0.6538, allocations: 47.72 kB / 0.649 GB, free: 7.758 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01603/0.6698, allocations: 6.642 MB / 0.6555 GB, free: 1.109 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01515/0.6849, allocations: 6.046 MB / 0.6614 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.685, allocations: 0 / 0.6614 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.685, allocations: 3.984 kB / 0.6614 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02071/0.7057, allocations: 8.953 MB / 0.6701 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.7057, allocations: 4 kB / 0.6701 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00356/0.7092, allocations: 0.8034 MB / 0.6709 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.306e-05/0.7093, allocations: 4 kB / 0.6709 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000223/0.7095, allocations: 79.81 kB / 0.671 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.7095, allocations: 6.5 kB / 0.671 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.7095, allocations: 4 kB / 0.671 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01348/0.723, allocations: 4.882 MB / 0.6758 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002105/0.7232, allocations: 122.8 kB / 0.6759 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002736/0.7234, allocations: 20 kB / 0.6759 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002896/0.7263, allocations: 0.5656 MB / 0.6765 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003583/0.7267, allocations: 148.5 kB / 0.6766 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002491/0.727, allocations: 83.81 kB / 0.6767 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002281/0.7272, allocations: 193.2 kB / 0.6769 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7272, allocations: 0 / 0.6769 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004136/0.7313, allocations: 1.283 MB / 0.6781 GB, free: 9.809 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.01954/0.7509, allocations: 6.48 MB / 0.6844 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01373/0.7646, allocations: 4.822 MB / 0.6892 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.7646, allocations: 0 / 0.6892 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007132/0.7717, allocations: 2.547 MB / 0.6916 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/0.7739, allocations: 356.3 kB / 0.692 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05013/0.824, allocations: 18.6 MB / 0.7102 GB, free: 8.793 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005646/0.8246, allocations: 0.5151 MB / 0.7107 GB, free: 8.246 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002267/0.8269, allocations: 0.7189 MB / 0.7114 GB, free: 7.523 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001531/0.8284, allocations: 486.9 kB / 0.7118 GB, free: 7.047 MB / 0.545 GB Notification: Performance of SimCode: time 6.61e-07/0.8284, allocations: 0 / 0.7118 GB, free: 7.047 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3005/1.129, allocations: 70.07 MB / 0.7803 GB, free: 203.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.12/16.25, allocations: 4.188 kB / 0.7803 GB, free: 203.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: 19.308503065956756] Failed to read output from testmodel.py, exit status != 0: 16.455895369988866 16.473895988 16.055162808 Calling exit ...