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_laminar_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_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_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.0008298/0.0008297, allocations: 96.78 kB / 17 MB, free: 6.418 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.0009396/0.0009398, allocations: 189.2 kB / 17.89 MB, free: 5.945 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.444/1.444, allocations: 223.2 MB / 241.9 MB, free: 336 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.2285/0.2285, allocations: 44.23 MB / 337.2 MB, free: 2.879 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003237, allocations: 8 kB / 409.8 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1391, allocations: 61.92 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.001949/0.1411, allocations: 1.376 MB / 473 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.1422, allocations: 0.6667 MB / 473.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.623e-05/0.1423, allocations: 0 / 473.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001932/0.1425, allocations: 27.91 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000248/0.1427, allocations: 71.72 kB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.1429, allocations: 43.81 kB / 473.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002689/0.1432, allocations: 199.3 kB / 474.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.912e-05/0.1432, allocations: 13.39 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.81e-05/0.1433, allocations: 55.78 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.1435, allocations: 87.67 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.1435, allocations: 0 / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.1437, allocations: 59.89 kB / 474.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.824e-05/0.1437, allocations: 51.81 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.286e-05/0.1438, allocations: 41.64 kB / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.144, allocations: 127.9 kB / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.144, allocations: 0 / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.938e-06/0.144, allocations: 0 / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.144, allocations: 3.938 kB / 474.5 MB, free: 10.78 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.000667/0.1447, allocations: 442.8 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.1448, allocations: 8.562 kB / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.968e-05/0.1448, allocations: 50.55 kB / 475 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005488/0.1454, allocations: 67.72 kB / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.1457, allocations: 210.8 kB / 475.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.1457, allocations: 11.98 kB / 475.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.1457, allocations: 11.95 kB / 475.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005072/0.1462, allocations: 263.9 kB / 475.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1462, allocations: 0 / 475.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.1463, allocations: 7.984 kB / 475.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-05/0.1463, allocations: 15.98 kB / 475.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004933/0.1468, allocations: 255.7 kB / 475.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.148, allocations: 0.6678 MB / 476.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003795/0.1484, allocations: 222.4 kB / 476.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.1486, allocations: 88.81 kB / 476.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.1486, allocations: 4 kB / 476.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.1487, allocations: 38.5 kB / 476.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.1487, allocations: 0 / 476.8 MB, free: 8.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006826/0.1494, allocations: 307.9 kB / 477.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.1494, allocations: 55.34 kB / 477.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.1496, allocations: 230.2 kB / 477.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.1496, allocations: 25.81 kB / 477.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.477e-05/0.1497, allocations: 123.9 kB / 477.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.1498, allocations: 47.3 kB / 477.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.315e-05/0.1498, allocations: 8 kB / 477.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1499, allocations: 322.8 kB / 477.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.1501, allocations: 83.91 kB / 478 MB, free: 7.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.1503, allocations: 123.3 kB / 478.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.1505, allocations: 99.86 kB / 478.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1505, allocations: 0 / 478.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004793/0.151, allocations: 261.2 kB / 478.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.151, allocations: 4 kB / 478.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.1511, allocations: 4 kB / 478.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.1511, allocations: 0 / 478.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00224/0.1533, allocations: 267.6 kB / 478.7 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008715/0.162, allocations: 8.602 MB / 487.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.1623, allocations: 23.88 kB / 487.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.1624, allocations: 7.984 kB / 487.4 MB, free: 12.85 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.0001496/0.1625, allocations: 141.8 kB / 487.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.1626, allocations: 15.81 kB / 487.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000562/0.1631, allocations: 258.8 kB / 487.8 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1632, allocations: 8 kB / 487.8 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.1632, allocations: 3.953 kB / 487.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1632, allocations: 0 / 487.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.1635, allocations: 237.5 kB / 488 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1635, allocations: 0 / 488 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001499/0.165, allocations: 215.7 kB / 488.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.165, allocations: 0 / 488.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.165, allocations: 0 / 488.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00742/0.1724, allocations: 8.125 MB / 496.3 MB, free: 3.016 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1725, allocations: 0 / 496.3 MB, free: 3.016 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005116/0.173, allocations: 302.3 kB / 496.6 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.978e-05/0.1731, allocations: 108.8 kB / 496.8 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.1731, allocations: 4.062 kB / 496.8 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.1733, allocations: 15.98 kB / 496.8 MB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.593e-05/0.1734, allocations: 19.91 kB / 496.8 MB, free: 2.543 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.1735, allocations: 3.984 kB / 496.8 MB, free: 2.539 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002048/0.1737, allocations: 187.2 kB / 497 MB, free: 2.355 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1737, allocations: 3.938 kB / 497 MB, free: 2.352 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004846/0.1742, allocations: 64 kB / 497 MB, free: 2.289 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 (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): 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.0007468/0.1749, allocations: 0.8409 MB / 497.9 MB, free: 1.418 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001968/0.1769, allocations: 0.5919 MB / 498.5 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1769, allocations: 4 kB / 498.5 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001283/0.1782, allocations: 401.4 kB / 498.9 MB, free: 444 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.1786, allocations: 39.95 kB / 498.9 MB, free: 408 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.1807, allocations: 1.354 MB / 0.4885 GB, free: 14.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.181, allocations: 0.7599 MB / 0.4893 GB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000386/0.1814, allocations: 113.4 kB / 0.4894 GB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/0.1816, allocations: 87.36 kB / 0.4895 GB, free: 13.99 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1816, allocations: 0 / 0.4895 GB, free: 13.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02645/0.2081, allocations: 9.526 MB / 0.4988 GB, free: 4.699 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002538/0.2084, allocations: 220.6 kB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.181/2.389, allocations: 7.375 kB / 0.499 GB, free: 4.457 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_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_laminar_KC_res.mat does not exist to compare? outputFormat=mat