Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_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.001026/0.001026, allocations: 97.94 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 182.2 kB / 17.89 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 223.2 MB / 241.9 MB, free: 256 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.224/0.224, allocations: 44.23 MB / 337.2 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004929/0.0004931, allocations: 8.219 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1408, allocations: 61.93 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.002354/0.1433, allocations: 1.368 MB / 473 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.1446, allocations: 0.6629 MB / 473.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.125e-05/0.1447, allocations: 4 kB / 473.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.1449, allocations: 35.81 kB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000278/0.1452, allocations: 63.72 kB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.1454, allocations: 43.83 kB / 473.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002768/0.1457, allocations: 215.2 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.25e-05/0.1458, allocations: 13.39 kB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.1459, allocations: 51.78 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.146, allocations: 83.67 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.1461, allocations: 4 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.1462, allocations: 67.88 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.524e-05/0.1463, allocations: 55.8 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.874e-05/0.1464, allocations: 45.64 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.1466, allocations: 119.9 kB / 474.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.1466, allocations: 4 kB / 474.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1466, allocations: 4 kB / 474.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1467, allocations: 0 / 474.5 MB, free: 10.75 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006835/0.1473, allocations: 441 kB / 474.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.1474, allocations: 12.56 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.659e-05/0.1475, allocations: 42.55 kB / 475 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005878/0.1481, allocations: 83.61 kB / 475.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.1483, allocations: 221.2 kB / 475.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1484, allocations: 8 kB / 475.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.1484, allocations: 11.95 kB / 475.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005612/0.149, allocations: 307.8 kB / 475.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.149, allocations: 0 / 475.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.149, allocations: 4 kB / 475.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.181e-05/0.1491, allocations: 23.92 kB / 475.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005975/0.1497, allocations: 303.7 kB / 475.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.151, allocations: 0.7235 MB / 476.7 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005073/0.1516, allocations: 289.7 kB / 476.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/0.1518, allocations: 104.8 kB / 477 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.1518, allocations: 0 / 477 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.1519, allocations: 38.56 kB / 477.1 MB, free: 8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 8.92e-07/0.1519, allocations: 3.938 kB / 477.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008422/0.1527, allocations: 369.1 kB / 477.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.1528, allocations: 51.41 kB / 477.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.153, allocations: 226.4 kB / 477.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.153, allocations: 25.7 kB / 477.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.939e-05/0.1531, allocations: 119.9 kB / 477.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.777e-05/0.1532, allocations: 47.38 kB / 477.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.426e-05/0.1532, allocations: 0 / 477.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1534, allocations: 326.8 kB / 478.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.1536, allocations: 107.9 kB / 478.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.1538, allocations: 135.3 kB / 478.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.1541, allocations: 115.9 kB / 478.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.1541, allocations: 3.953 kB / 478.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000571/0.1547, allocations: 313.1 kB / 478.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1547, allocations: 4 kB / 478.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1547, allocations: 0 / 478.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1547, allocations: 4 kB / 478.9 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01778/0.1725, allocations: 0.9008 MB / 479.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02061/0.1932, allocations: 9.916 MB / 489.7 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/0.1936, allocations: 23.97 kB / 489.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/0.1936, allocations: 19.97 kB / 489.7 MB, free: 10.46 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 initialization (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 prepare postOptimizeDAE: time 0.000169/0.1938, allocations: 141.7 kB / 489.9 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.1938, allocations: 15.81 kB / 489.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005881/0.1997, allocations: 0.6257 MB / 490.5 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.1998, allocations: 8 kB / 490.5 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.1998, allocations: 0 / 490.5 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1998, allocations: 0 / 490.5 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003648/0.2002, allocations: 277.5 kB / 490.8 MB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-06/0.2002, allocations: 7.891 kB / 490.8 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.2004, allocations: 35.97 kB / 490.8 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006247/0.2067, allocations: 417.9 kB / 491.3 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.019e-05/0.2067, allocations: 11.97 kB / 491.3 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01481/0.2215, allocations: 9.507 MB / 0.489 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2216, allocations: 0 / 0.489 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005697/0.2273, allocations: 0.6732 MB / 0.4897 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.668e-05/0.2274, allocations: 100.8 kB / 0.4898 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.672e-05/0.2274, allocations: 4 kB / 0.4898 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.2277, allocations: 12 kB / 0.4898 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/0.2279, allocations: 43.89 kB / 0.4898 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.2279, allocations: 11.98 kB / 0.4899 GB, free: 13.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001996/0.2281, allocations: 168.2 kB / 0.49 GB, free: 13.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.2281, allocations: 0 / 0.49 GB, free: 13.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006489/0.2288, allocations: 95.94 kB / 0.4901 GB, free: 13.39 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 (13): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005938/0.2347, allocations: 1.232 MB / 0.4913 GB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01716/0.2519, allocations: 1.096 MB / 0.4924 GB, free: 11.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.252, allocations: 0 / 0.4924 GB, free: 11.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001747/0.2537, allocations: 0.5349 MB / 0.4929 GB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.2541, allocations: 34.41 kB / 0.4929 GB, free: 10.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004041/0.2582, allocations: 1.608 MB / 0.4945 GB, free: 8.742 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.2586, allocations: 0.744 MB / 0.4952 GB, free: 7.969 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001384/0.2587, allocations: 45.52 kB / 0.4953 GB, free: 7.926 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.272e-05/0.2588, allocations: 55.34 kB / 0.4953 GB, free: 7.871 MB / 382.1 MB Notification: Performance of SimCode: time 1.262e-06/0.2588, allocations: 0 / 0.4953 GB, free: 7.871 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2579/0.5167, allocations: 9.054 MB / 0.5042 GB, free: 48.02 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/0.517, allocations: 249.8 kB / 0.5044 GB, free: 47.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.214/2.731, allocations: 0 / 0.5044 GB, free: 47.69 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat