Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.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.001482/0.001482, allocations: 121 kB / 18.5 MB, free: 4.562 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.001619/0.001619, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.491/1.491, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2317/0.2317, allocations: 46.93 MB / 357.8 MB, free: 10.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 63.91 kB / 0.4916 GB, free: 7.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.145, allocations: 65.99 MB / 0.5561 GB, free: 5.785 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.004214/0.1492, allocations: 2.137 MB / 0.5582 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002488/0.1517, allocations: 1.421 MB / 0.5596 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.1518, allocations: 0 / 0.5596 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003319/0.1521, allocations: 91.38 kB / 0.5596 GB, free: 2.113 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001901/0.1523, allocations: 71.41 kB / 0.5597 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005838/0.1529, allocations: 215.1 kB / 0.5599 GB, free: 1.832 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.1531, allocations: 147 kB / 0.5601 GB, free: 1.688 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.32e-05/0.1531, allocations: 8.312 kB / 0.5601 GB, free: 1.676 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.1533, allocations: 75.52 kB / 0.5601 GB, free: 1.602 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.1535, allocations: 63.59 kB / 0.5602 GB, free: 1.539 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.1535, allocations: 7.938 kB / 0.5602 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006974/0.1542, allocations: 431.4 kB / 0.5606 GB, free: 1.109 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.591e-05/0.1542, allocations: 31.78 kB / 0.5606 GB, free: 1.078 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.326e-05/0.1543, allocations: 63.5 kB / 0.5607 GB, free: 1.016 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006207/0.155, allocations: 442.2 kB / 0.5611 GB, free: 0.582 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.155, allocations: 0 / 0.5611 GB, free: 0.582 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.155, allocations: 0 / 0.5611 GB, free: 0.582 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.155, allocations: 0 / 0.5611 GB, free: 0.582 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007355/0.1557, allocations: 0.4983 MB / 0.5616 GB, free: 36 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.1557, allocations: 12.03 kB / 0.5616 GB, free: 24 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.734e-05/0.1558, allocations: 4.188 kB / 0.5616 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.576e-05/0.1558, allocations: 58.66 kB / 0.5617 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.1559, allocations: 24.8 kB / 0.5617 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.1561, allocations: 216 kB / 0.5619 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.1562, allocations: 20.11 kB / 0.5619 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.1562, allocations: 12 kB / 0.562 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004057/0.1566, allocations: 211.5 kB / 0.5622 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1566, allocations: 3.938 kB / 0.5622 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.1566, allocations: 4 kB / 0.5622 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.1566, allocations: 4 kB / 0.5622 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003164/0.1569, allocations: 148.2 kB / 0.5623 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000885/0.1578, allocations: 0.5715 MB / 0.5629 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.158, allocations: 62.55 kB / 0.5629 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.1581, allocations: 32.94 kB / 0.563 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.741e-05/0.1582, allocations: 0 / 0.563 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.1582, allocations: 34.56 kB / 0.563 GB, free: 14.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1582, allocations: 3.938 kB / 0.563 GB, free: 14.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004775/0.1587, allocations: 129.5 kB / 0.5631 GB, free: 14.37 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.1587, allocations: 55.39 kB / 0.5632 GB, free: 14.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002754/0.159, allocations: 262.6 kB / 0.5634 GB, free: 14.04 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.159, allocations: 29.7 kB / 0.5634 GB, free: 14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.1592, allocations: 167.9 kB / 0.5636 GB, free: 13.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.1592, allocations: 19.83 kB / 0.5636 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-05/0.1593, allocations: 41.67 kB / 0.5637 GB, free: 13.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1594, allocations: 334.8 kB / 0.564 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.1596, allocations: 39.97 kB / 0.564 GB, free: 13.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.1598, allocations: 132.8 kB / 0.5641 GB, free: 13.22 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003415/0.1601, allocations: 184.7 kB / 0.5643 GB, free: 12.99 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1601, allocations: 0 / 0.5643 GB, free: 12.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004211/0.1605, allocations: 197.4 kB / 0.5645 GB, free: 12.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1605, allocations: 11.98 kB / 0.5645 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.184e-05/0.1606, allocations: 16 kB / 0.5645 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.1606, allocations: 4 kB / 0.5645 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.1607, allocations: 32.11 kB / 0.5646 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.1607, allocations: 8 kB / 0.5646 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.1609, allocations: 35.77 kB / 0.5646 GB, free: 12.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.1609, allocations: 12.19 kB / 0.5646 GB, free: 12.68 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001166/0.161, allocations: 135.9 kB / 0.5648 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.184e-05/0.1611, allocations: 23.86 kB / 0.5648 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003953/0.1615, allocations: 142.8 kB / 0.5649 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1615, allocations: 0 / 0.5649 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1615, allocations: 0 / 0.5649 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1615, allocations: 0 / 0.5649 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.1617, allocations: 221.5 kB / 0.5651 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.065e-05/0.1617, allocations: 12.12 kB / 0.5651 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.263e-05/0.1618, allocations: 11.94 kB / 0.5652 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1618, allocations: 3.984 kB / 0.5652 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1618, allocations: 4 kB / 0.5652 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1618, allocations: 0 / 0.5652 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1618, allocations: 0 / 0.5652 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.1622, allocations: 215.3 kB / 0.5654 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.617e-05/0.1622, allocations: 92.97 kB / 0.5655 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.1623, allocations: 0 / 0.5655 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.1624, allocations: 7.984 kB / 0.5655 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.1624, allocations: 4 kB / 0.5655 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.1624, allocations: 7.984 kB / 0.5655 GB, free: 11.71 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001838/0.1626, allocations: 189.8 kB / 0.5657 GB, free: 11.53 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1626, allocations: 0 / 0.5657 GB, free: 11.53 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003821/0.163, allocations: 79.73 kB / 0.5657 GB, free: 11.45 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0009602/0.164, allocations: 0.802 MB / 0.5665 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004657/0.1644, allocations: 167.2 kB / 0.5667 GB, free: 10.44 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1644, allocations: 4.812 kB / 0.5667 GB, free: 10.44 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002237/0.1646, allocations: 103.4 kB / 0.5668 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.165, allocations: 25.38 kB / 0.5668 GB, free: 10.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/0.1681, allocations: 2.381 MB / 0.5691 GB, free: 7.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.1685, allocations: 0.732 MB / 0.5698 GB, free: 6.992 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.492e-05/0.1685, allocations: 13.55 kB / 0.5699 GB, free: 6.98 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.391e-05/0.1686, allocations: 63.41 kB / 0.5699 GB, free: 6.918 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1686, allocations: 0 / 0.5699 GB, free: 6.918 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0263/0.1949, allocations: 6.881 MB / 0.5766 GB, free: 308 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.3, allocations: 11.62 kB / 0.5766 GB, free: 300 kB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201879 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.48478866496589] Failed to read output from testmodel.py, exit status != 0: ['time', 'Re', 'm_flow[1]', 'm_flow[2]', 'Nu[1]', 'Nu[2]', 'input_Re.y'] 12.449432383989915 12.465855043 12.307156666 Calling exit ...