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.000921/0.0009207, allocations: 102.9 kB / 16.99 MB, free: 5.938 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.001485/0.001485, allocations: 188.2 kB / 17.88 MB, free: 5.594 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.408/1.408, allocations: 223.2 MB / 241.8 MB, free: 388 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.2328/0.2328, allocations: 44.23 MB / 337.1 MB, free: 2.891 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003663, allocations: 13.25 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1342, allocations: 61.92 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.001874/0.1362, allocations: 1.357 MB / 472.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.1375, allocations: 0.6434 MB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.077e-05/0.1376, allocations: 4 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.1379, allocations: 31.81 kB / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002514/0.1381, allocations: 43.86 kB / 473.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.1383, allocations: 47.88 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000232/0.1386, allocations: 95.8 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.87e-05/0.1387, allocations: 9.406 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.954e-05/0.1388, allocations: 39.84 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.139, allocations: 51.81 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.139, allocations: 4 kB / 473.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002484/0.1393, allocations: 71.81 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.683e-05/0.1393, allocations: 43.91 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.715e-05/0.1394, allocations: 45.64 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.1396, allocations: 112 kB / 474.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.1396, allocations: 0 / 474.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1396, allocations: 0 / 474.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1397, allocations: 3.938 kB / 474.2 MB, free: 11 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.0006129/0.1403, allocations: 442.8 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.1403, allocations: 8.562 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.778e-05/0.1404, allocations: 46.55 kB / 474.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005572/0.1409, allocations: 75.62 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.1412, allocations: 210.8 kB / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1412, allocations: 8 kB / 474.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.1412, allocations: 11.95 kB / 474.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005044/0.1418, allocations: 263.9 kB / 475.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1418, allocations: 0 / 475.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.1418, allocations: 4 kB / 475.2 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.522e-05/0.1418, allocations: 15.98 kB / 475.2 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005185/0.1424, allocations: 255.7 kB / 475.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.1436, allocations: 0.664 MB / 476.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004444/0.1441, allocations: 230.2 kB / 476.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.1441, allocations: 7.984 kB / 476.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.1441, allocations: 34.56 kB / 476.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.1441, allocations: 0 / 476.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007163/0.1449, allocations: 297.5 kB / 476.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.1449, allocations: 55.41 kB / 476.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.1451, allocations: 230.2 kB / 477 MB, free: 7.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.1452, allocations: 33.64 kB / 477 MB, free: 7.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.137e-05/0.1452, allocations: 123.9 kB / 477.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.1453, allocations: 39.39 kB / 477.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.441e-05/0.1453, allocations: 8 kB / 477.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1454, allocations: 330.8 kB / 477.5 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.1456, allocations: 83.91 kB / 477.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.1458, allocations: 115.3 kB / 477.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.1461, allocations: 99.89 kB / 477.8 MB, free: 7.133 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1461, allocations: 4 kB / 477.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004673/0.1465, allocations: 263.7 kB / 478 MB, free: 6.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.1466, allocations: 4 kB / 478 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1466, allocations: 3.938 kB / 478 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1466, allocations: 8.094 kB / 478.1 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002744/0.1494, allocations: 255.6 kB / 478.3 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008857/0.1582, allocations: 8.661 MB / 487 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/0.1585, allocations: 23.86 kB / 487 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.1586, allocations: 7.984 kB / 487 MB, free: 13.11 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.0001462/0.1587, allocations: 146 kB / 487.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/0.1588, allocations: 15.81 kB / 487.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004992/0.1593, allocations: 262.8 kB / 487.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1593, allocations: 4 kB / 487.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.1593, allocations: 0 / 487.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1593, allocations: 3.953 kB / 487.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.1596, allocations: 237.5 kB / 487.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1596, allocations: 0 / 487.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001634/0.1612, allocations: 207.7 kB / 487.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1613, allocations: 0 / 487.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.1613, allocations: 8.094 kB / 487.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006658/0.1679, allocations: 8.18 MB / 496 MB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.168, allocations: 0 / 496 MB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004452/0.1684, allocations: 291.5 kB / 496.3 MB, free: 2.918 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.837e-05/0.1685, allocations: 108.8 kB / 496.4 MB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.1686, allocations: 3.938 kB / 496.4 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.1688, allocations: 15.98 kB / 496.5 MB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.49e-05/0.1689, allocations: 23.97 kB / 496.5 MB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.1689, allocations: 4 kB / 496.5 MB, free: 2.746 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001835/0.1691, allocations: 187.1 kB / 496.7 MB, free: 2.562 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1691, allocations: 0 / 496.7 MB, free: 2.562 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000456/0.1695, allocations: 67.91 kB / 496.7 MB, free: 2.496 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.0007395/0.1703, allocations: 0.8351 MB / 497.6 MB, free: 1.633 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001942/0.1722, allocations: 0.5958 MB / 498.2 MB, free: 1.039 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1723, allocations: 4 kB / 498.2 MB, free: 1.035 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001303/0.1736, allocations: 399.3 kB / 498.6 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.1738, allocations: 30.22 kB / 498.6 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.176, allocations: 1.798 MB / 0.4887 GB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.1763, allocations: 0.7599 MB / 0.4894 GB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003837/0.1767, allocations: 117.4 kB / 0.4895 GB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.1769, allocations: 99.28 kB / 0.4896 GB, free: 13.75 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1769, allocations: 0 / 0.4896 GB, free: 13.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.1994, allocations: 9.492 MB / 0.4989 GB, free: 4.484 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003047/0.1997, allocations: 222 kB / 0.4991 GB, free: 4.242 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.012/2.212, allocations: 0 / 0.4991 GB, free: 4.242 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