Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.0008963/0.0008963, allocations: 98.28 kB / 17 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009448/0.0009452, allocations: 195.2 kB / 17.91 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 246 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2189/0.2189, allocations: 45.92 MB / 344.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002832/0.0002832, allocations: 15.92 kB / 418.2 MB, free: 20.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1336, allocations: 63.46 MB / 481.7 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002012/0.1357, allocations: 1.564 MB / 483.2 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.1369, allocations: 0.7641 MB / 484 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.227e-05/0.137, allocations: 4 kB / 484 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002115/0.1372, allocations: 43.73 kB / 484 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002771/0.1375, allocations: 79.69 kB / 484.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.1378, allocations: 71.73 kB / 484.2 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003359/0.1381, allocations: 310.6 kB / 484.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.669e-05/0.1382, allocations: 36.38 kB / 484.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.1384, allocations: 95.52 kB / 484.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.1386, allocations: 127.4 kB / 484.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.1386, allocations: 4 kB / 484.7 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002125/0.1388, allocations: 115.8 kB / 484.9 MB, free: 2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.229e-05/0.1389, allocations: 59.75 kB / 484.9 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.822e-05/0.1389, allocations: 61.58 kB / 485 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.1392, allocations: 211.7 kB / 485.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1392, allocations: 8 kB / 485.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.588e-06/0.1392, allocations: 0 / 485.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1392, allocations: 3.938 kB / 485.2 MB, free: 1.656 MB / 350.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.0006768/0.1399, allocations: 0.5067 MB / 485.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.14, allocations: 16.02 kB / 485.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.074e-05/0.14, allocations: 58.55 kB / 485.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.1401, allocations: 39.62 kB / 485.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.1403, allocations: 242.6 kB / 486.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.1403, allocations: 16.56 kB / 486.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.1404, allocations: 27.98 kB / 486.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000584/0.141, allocations: 377.2 kB / 486.5 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.141, allocations: 0 / 486.5 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.141, allocations: 8 kB / 486.5 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.545e-05/0.1411, allocations: 24.64 kB / 486.5 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006278/0.1417, allocations: 386.3 kB / 486.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.143, allocations: 0.8385 MB / 487.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004904/0.1435, allocations: 258.3 kB / 488 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.1438, allocations: 108.8 kB / 488.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.326e-05/0.1438, allocations: 7.969 kB / 488.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.1439, allocations: 38.55 kB / 488.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.794e-06/0.1439, allocations: 0 / 488.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007847/0.1447, allocations: 351.5 kB / 488.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.1447, allocations: 55.41 kB / 488.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003749/0.1451, allocations: 334.9 kB / 488.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.1451, allocations: 29.7 kB / 488.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.1453, allocations: 168 kB / 489 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.657e-05/0.1453, allocations: 63.19 kB / 489.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.484e-05/0.1453, allocations: 4 kB / 489.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1455, allocations: 334.8 kB / 489.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.1457, allocations: 108.4 kB / 489.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/0.146, allocations: 184 kB / 489.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002385/0.1462, allocations: 131.8 kB / 489.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1462, allocations: 0 / 489.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006108/0.1469, allocations: 360.7 kB / 490.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.1469, allocations: 10.97 kB / 490.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.1469, allocations: 11.98 kB / 490.2 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.1469, allocations: 7.938 kB / 490.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005597/0.1475, allocations: 127.9 kB / 490.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/0.1494, allocations: 3.649 MB / 494 MB, free: 8.445 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.1496, allocations: 43.53 kB / 494 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.1496, allocations: 15.98 kB / 494.1 MB, free: 8.387 MB / 366.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.0002025/0.1498, allocations: 173.9 kB / 494.2 MB, free: 8.207 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/0.1499, allocations: 31.62 kB / 494.3 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000655/0.1506, allocations: 338.5 kB / 494.6 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1506, allocations: 0 / 494.6 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1506, allocations: 4 kB / 494.6 MB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.1506, allocations: 0 / 494.6 MB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.1509, allocations: 301.3 kB / 494.9 MB, free: 7.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.1509, allocations: 7.953 kB / 494.9 MB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004328/0.1514, allocations: 104 kB / 495 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.1514, allocations: 4 kB / 495 MB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.1514, allocations: 3.984 kB / 495 MB, free: 7.375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/0.153, allocations: 3.653 MB / 498.7 MB, free: 3.582 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.153, allocations: 3.938 kB / 498.7 MB, free: 3.578 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004621/0.1535, allocations: 355.8 kB / 499 MB, free: 3.215 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.81e-05/0.1536, allocations: 104.7 kB / 499.1 MB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.044e-05/0.1536, allocations: 8 kB / 499.1 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.1538, allocations: 11.98 kB / 499.1 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/0.1538, allocations: 15.98 kB / 499.1 MB, free: 3.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.1539, allocations: 11.98 kB / 499.2 MB, free: 3.047 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002108/0.1541, allocations: 241.9 kB / 499.4 MB, free: 2.812 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1541, allocations: 0 / 499.4 MB, free: 2.812 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003705/0.1545, allocations: 83.89 kB / 499.5 MB, free: 2.73 MB / 366.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.0008968/0.1554, allocations: 0.9146 MB / 0.4887 GB, free: 1.789 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000844/0.1562, allocations: 336.2 kB / 0.489 GB, free: 1.461 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1562, allocations: 3.938 kB / 0.489 GB, free: 1.457 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000506/0.1567, allocations: 187.8 kB / 0.4892 GB, free: 1.273 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.1572, allocations: 72.83 kB / 0.4892 GB, free: 1.199 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00264/0.1598, allocations: 1.931 MB / 0.4911 GB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.1602, allocations: 0.795 MB / 0.4919 GB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002046/0.1604, allocations: 78.89 kB / 0.492 GB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.1605, allocations: 71.41 kB / 0.492 GB, free: 14.21 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1605, allocations: 0 / 0.492 GB, free: 14.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.1809, allocations: 7.819 MB / 0.4997 GB, free: 6.691 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002521/0.1812, allocations: 268.8 kB / 0.4999 GB, free: 6.328 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.944/2.126, allocations: 0 / 0.4999 GB, free: 6.328 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat