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.001303/0.001303, 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.00145/0.00145, allocations: 213.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.34/1.34, allocations: 207.7 MB / 234.6 MB, free: 9.797 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.277/0.277, allocations: 49.61 MB / 336.4 MB, free: 3.891 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="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.002236/0.002236, allocations: 75.89 kB / 476.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1057, 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.2032/0.309, allocations: 14.72 MB / 0.5406 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01209/0.321, allocations: 11.94 MB / 0.5522 GB, free: 8.832 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002412/0.3213, allocations: 5.969 kB / 0.5522 GB, free: 8.828 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004275/0.3217, allocations: 121.9 kB / 0.5523 GB, free: 8.781 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003566/0.3221, allocations: 205.1 kB / 0.5525 GB, free: 8.672 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01583/0.3379, allocations: 5.307 MB / 0.5577 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001892/0.3398, allocations: 1.96 MB / 0.5596 GB, free: 6.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.34, allocations: 57.39 kB / 0.5597 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007514/0.3407, allocations: 0.6282 MB / 0.5603 GB, free: 5.992 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.3418, allocations: 0.7643 MB / 0.561 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002282/0.342, allocations: 136.6 kB / 0.5612 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01199/0.354, allocations: 6.484 MB / 0.5675 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004552/0.3545, allocations: 483 kB / 0.568 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006984/0.3552, allocations: 0.5134 MB / 0.5685 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009776/0.3649, allocations: 5.045 MB / 0.5734 GB, free: 15.33 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3649, allocations: 1.281 kB / 0.5734 GB, free: 15.33 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3649, allocations: 0 / 0.5734 GB, free: 15.33 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.626e-05/0.365, allocations: 0 / 0.5734 GB, free: 15.33 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.009739/0.3747, allocations: 2.553 MB / 0.5759 GB, free: 13.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3748, allocations: 10.78 kB / 0.5759 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002251/0.375, allocations: 150.6 kB / 0.576 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001668/0.3766, allocations: 300.4 kB / 0.5763 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.3779, allocations: 0.5398 MB / 0.5769 GB, free: 13.22 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001328/0.3793, allocations: 1.105 MB / 0.5779 GB, free: 12.13 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000265/0.3795, allocations: 70.12 kB / 0.578 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008894/0.3884, allocations: 3.373 MB / 0.5813 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.3884, allocations: 3.938 kB / 0.5813 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001902/0.3886, allocations: 26.84 kB / 0.5813 GB, free: 10.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.511e-05/0.3887, allocations: 55.53 kB / 0.5814 GB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01467/0.4034, allocations: 5.391 MB / 0.5866 GB, free: 7.137 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01613/0.4195, allocations: 7.9 MB / 0.5944 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00784/0.4273, allocations: 2.638 MB / 0.5969 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006423/0.4338, allocations: 2.201 MB / 0.5991 GB, free: 10.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1021/0.5359, allocations: 28.02 MB / 0.6264 GB, free: 14.28 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.448e-05/0.536, allocations: 47.56 kB / 0.6265 GB, free: 14.23 MB / 478.1 MB Notification: Performance of pre-optimization done (n=88): time 2.725e-06/0.536, allocations: 0 / 0.6265 GB, free: 14.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=88): time 0.02168/0.5576, allocations: 6.63 MB / 0.633 GB, free: 7.586 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.5577, allocations: 60.41 kB / 0.633 GB, free: 7.512 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003204/0.558, allocations: 256.8 kB / 0.6333 GB, free: 7.25 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002011/0.5582, allocations: 41.7 kB / 0.6333 GB, free: 7.203 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.5584, allocations: 257.1 kB / 0.6335 GB, free: 6.945 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004112/0.5588, allocations: 317.2 kB / 0.6338 GB, free: 6.633 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006176/0.5594, allocations: 282.3 kB / 0.6341 GB, free: 6.352 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.5596, allocations: 354.8 kB / 0.6345 GB, free: 5.996 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006457/0.5661, allocations: 2.148 MB / 0.6366 GB, free: 3.844 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006558/0.5726, allocations: 2.251 MB / 0.6388 GB, free: 1.562 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01151/0.5841, allocations: 3.398 MB / 0.6421 GB, free: 14.13 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.5841, allocations: 4 kB / 0.6421 GB, free: 14.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01305/0.5972, allocations: 4.145 MB / 0.6461 GB, free: 9.969 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.5972, allocations: 4 kB / 0.6461 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/0.5972, allocations: 4 kB / 0.6461 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.5972, allocations: 7.938 kB / 0.6461 GB, free: 9.953 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003661/0.6009, allocations: 0.8193 MB / 0.6469 GB, free: 9.133 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.836e-05/0.6009, allocations: 15.92 kB / 0.647 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002885/0.6038, allocations: 0.6043 MB / 0.6475 GB, free: 8.512 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002276/0.604, allocations: 88.62 kB / 0.6476 GB, free: 8.426 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.000648/0.6047, allocations: 272.2 kB / 0.6479 GB, free: 8.152 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002902/0.605, allocations: 47.72 kB / 0.6479 GB, free: 8.105 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01557/0.6206, allocations: 6.649 MB / 0.6544 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01471/0.6353, allocations: 6.042 MB / 0.6603 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.6353, allocations: 7.938 kB / 0.6603 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/0.6353, allocations: 3.984 kB / 0.6603 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02097/0.6563, allocations: 8.949 MB / 0.6691 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.6563, allocations: 64 / 0.6691 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003555/0.6598, allocations: 0.8034 MB / 0.6699 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/0.6598, allocations: 4 kB / 0.6699 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002084/0.66, allocations: 76.69 kB / 0.6699 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.66, allocations: 7.938 kB / 0.6699 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.66, allocations: 4 kB / 0.67 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01362/0.6737, allocations: 4.875 MB / 0.6747 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002242/0.6739, allocations: 130.8 kB / 0.6748 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002428/0.6741, allocations: 20 kB / 0.6749 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002825/0.677, allocations: 0.5617 MB / 0.6754 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003333/0.6773, allocations: 144.6 kB / 0.6755 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002058/0.6775, allocations: 87.8 kB / 0.6756 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000227/0.6777, allocations: 193.2 kB / 0.6758 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.6777, allocations: 0 / 0.6758 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003897/0.6816, allocations: 1.287 MB / 0.6771 GB, free: 10.16 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.01879/0.7004, allocations: 6.485 MB / 0.6834 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01372/0.7141, allocations: 4.829 MB / 0.6881 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.7141, allocations: 0 / 0.6881 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007012/0.7211, allocations: 2.543 MB / 0.6906 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/0.7231, allocations: 351.9 kB / 0.6909 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04907/0.7721, allocations: 18.6 MB / 0.7091 GB, free: 9.145 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005601/0.7727, allocations: 0.5151 MB / 0.7096 GB, free: 8.594 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002136/0.7748, allocations: 0.7188 MB / 0.7103 GB, free: 7.875 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001402/0.7762, allocations: 494.9 kB / 0.7108 GB, free: 7.391 MB / 0.545 GB Notification: Performance of SimCode: time 6.82e-07/0.7762, allocations: 0 / 0.7108 GB, free: 7.391 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2938/1.07, allocations: 70.07 MB / 0.7792 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14.67, allocations: 7.344 kB / 0.7792 GB, free: 203.1 MB / 0.5919 GB " [Timeout remaining time 645] (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 sys.exit(0), Time elapsed: 17.861646088771522] Failed to read output from testmodel.py, exit status != 0: 14.819994466844946 14.844110417 14.474813246 Calling exit ...