Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000921/0.000921, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009686/0.0009687, allocations: 174 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205.4 MB / 222.8 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3732/0.3732, allocations: 43.56 MB / 314.6 MB, free: 8.996 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004928/0.000493, allocations: 14.97 kB / 384 MB, free: 8.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1424, allocations: 58.86 MB / 442.9 MB, free: 13.15 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.00221/0.1446, allocations: 1.556 MB / 444.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.1459, allocations: 0.7649 MB / 445.2 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.155e-05/0.146, allocations: 0 / 445.2 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002145/0.1462, allocations: 47.73 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002858/0.1465, allocations: 83.62 kB / 445.3 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.1467, allocations: 63.81 kB / 445.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003257/0.1471, allocations: 310.7 kB / 445.7 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.195e-05/0.1472, allocations: 40.25 kB / 445.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.1473, allocations: 95.5 kB / 445.8 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.1475, allocations: 119.5 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.1475, allocations: 4 kB / 446 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002284/0.1478, allocations: 115.8 kB / 446.1 MB, free: 9.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.602e-05/0.1479, allocations: 55.75 kB / 446.1 MB, free: 9.895 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.346e-05/0.1479, allocations: 65.56 kB / 446.2 MB, free: 9.824 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.1482, allocations: 215.4 kB / 446.4 MB, free: 9.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1482, allocations: 0 / 446.4 MB, free: 9.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1482, allocations: 3.938 kB / 446.4 MB, free: 9.609 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.1482, allocations: 0 / 446.4 MB, free: 9.609 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0007489/0.149, allocations: 0.5105 MB / 446.9 MB, free: 9.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.149, allocations: 12.03 kB / 446.9 MB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.208e-05/0.1491, allocations: 66.53 kB / 447 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.161e-05/0.1492, allocations: 31.67 kB / 447 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.1494, allocations: 234.6 kB / 447.3 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.1495, allocations: 16.55 kB / 447.3 MB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.1495, allocations: 24 kB / 447.3 MB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005935/0.1501, allocations: 381.2 kB / 447.7 MB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1501, allocations: 0 / 447.7 MB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.1502, allocations: 7.953 kB / 447.7 MB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-05/0.1502, allocations: 32.64 kB / 447.7 MB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005746/0.1508, allocations: 386.3 kB / 448.1 MB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.152, allocations: 0.8462 MB / 448.9 MB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004416/0.1525, allocations: 262.3 kB / 449.2 MB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.1527, allocations: 100.8 kB / 449.3 MB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.437e-05/0.1527, allocations: 7.984 kB / 449.3 MB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.1528, allocations: 34.7 kB / 449.3 MB, free: 6.512 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.212e-06/0.1528, allocations: 0 / 449.3 MB, free: 6.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007175/0.1535, allocations: 348.8 kB / 449.7 MB, free: 6.168 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.1535, allocations: 55.41 kB / 449.7 MB, free: 6.102 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/0.1539, allocations: 338.8 kB / 450.1 MB, free: 5.762 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.1539, allocations: 29.7 kB / 450.1 MB, free: 5.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.154, allocations: 168 kB / 450.3 MB, free: 5.555 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.602e-05/0.1541, allocations: 59.19 kB / 450.3 MB, free: 5.496 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.545e-05/0.1541, allocations: 8 kB / 450.3 MB, free: 5.488 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1542, allocations: 342.8 kB / 450.7 MB, free: 5.145 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.1544, allocations: 100.4 kB / 450.7 MB, free: 5.047 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.1547, allocations: 188 kB / 450.9 MB, free: 4.824 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.155, allocations: 139.8 kB / 451.1 MB, free: 4.688 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.155, allocations: 4 kB / 451.1 MB, free: 4.684 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005841/0.1556, allocations: 349.2 kB / 451.4 MB, free: 4.336 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.1556, allocations: 15.94 kB / 451.4 MB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1556, allocations: 0 / 451.4 MB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.1557, allocations: 8 kB / 451.4 MB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005564/0.1562, allocations: 123.8 kB / 451.6 MB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/0.1582, allocations: 3.657 MB / 455.2 MB, free: 404 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.1584, allocations: 43.53 kB / 455.3 MB, free: 360 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.1584, allocations: 15.98 kB / 455.3 MB, free: 344 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002316/0.1587, allocations: 185.8 kB / 455.5 MB, free: 148 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/0.1587, allocations: 23.72 kB / 455.5 MB, free: 124 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2729/0.4316, allocations: 329.1 kB / 455.8 MB, free: 46.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.4317, allocations: 5.531 kB / 455.8 MB, free: 46.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.4317, allocations: 6.562 kB / 455.8 MB, free: 46.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.4317, allocations: 0 / 455.8 MB, free: 46.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004121/0.4321, allocations: 295.7 kB / 456.1 MB, free: 46.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.4321, allocations: 0 / 456.1 MB, free: 46.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004566/0.4326, allocations: 106 kB / 456.2 MB, free: 46.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.4326, allocations: 3.781 kB / 456.2 MB, free: 46.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.4327, allocations: 9.094 kB / 456.2 MB, free: 46.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/0.4338, allocations: 3.652 MB / 459.9 MB, free: 43.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.4338, allocations: 6.797 kB / 459.9 MB, free: 43.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004462/0.4343, allocations: 357 kB / 460.2 MB, free: 43.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.808e-05/0.4343, allocations: 106 kB / 460.3 MB, free: 42.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.305e-05/0.4344, allocations: 3.875 kB / 460.3 MB, free: 42.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.4345, allocations: 8.656 kB / 460.3 MB, free: 42.97 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.738e-05/0.4346, allocations: 25.09 kB / 460.4 MB, free: 42.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.4346, allocations: 8.875 kB / 460.4 MB, free: 42.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002244/0.4349, allocations: 241.1 kB / 460.6 MB, free: 42.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4349, allocations: 0 / 460.6 MB, free: 42.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004164/0.4353, allocations: 70.66 kB / 460.7 MB, free: 42.89 MB / 382.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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007729/0.4361, allocations: 0.9214 MB / 461.6 MB, free: 42.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007902/0.4369, allocations: 333.9 kB / 461.9 MB, free: 42.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4369, allocations: 0 / 461.9 MB, free: 42.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004842/0.4374, allocations: 192.5 kB / 462.1 MB, free: 42.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.4378, allocations: 63.88 kB / 462.2 MB, free: 42.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.4405, allocations: 1.938 MB / 464.1 MB, free: 41.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.4407, allocations: 0.7988 MB / 464.9 MB, free: 40.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001996/0.4409, allocations: 80.34 kB / 465 MB, free: 40.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.4411, allocations: 73.03 kB / 465.1 MB, free: 40.86 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4411, allocations: 0 / 465.1 MB, free: 40.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02006/0.4611, allocations: 7.764 MB / 472.8 MB, free: 40.2 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/0.4614, allocations: 263.1 kB / 473.1 MB, free: 39.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.935/2.396, allocations: 3.25 kB / 473.1 MB, free: 39.84 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat