Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002415/0.00242, allocations: 182.6 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.146/2.146, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 95.33 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5379/0.5379, allocations: 43.55 MB / 362.7 MB, free: 52.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004656/0.0004657, allocations: 8 kB / 431.5 MB, free: 6.035 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1357, allocations: 58.85 MB / 490.3 MB, free: 11.1 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall): time 0.002799/0.1386, allocations: 1.457 MB / 491.8 MB, free: 9.633 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00296/0.1416, allocations: 1.303 MB / 493.1 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.1418, allocations: 0 / 493.1 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002625/0.142, allocations: 35.81 kB / 493.1 MB, free: 8.285 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002656/0.1423, allocations: 47.84 kB / 493.2 MB, free: 8.238 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009308/0.1433, allocations: 211.4 kB / 493.4 MB, free: 8.031 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000301/0.1436, allocations: 123.7 kB / 493.5 MB, free: 7.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.109e-05/0.1437, allocations: 13.55 kB / 493.5 MB, free: 7.891 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.1439, allocations: 75.7 kB / 493.6 MB, free: 7.816 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.1441, allocations: 79.72 kB / 493.7 MB, free: 7.738 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.437e-05/0.1441, allocations: 4 kB / 493.7 MB, free: 7.734 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007132/0.1449, allocations: 211.8 kB / 493.9 MB, free: 7.527 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.513e-05/0.145, allocations: 51.75 kB / 493.9 MB, free: 7.477 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.098e-05/0.1451, allocations: 49.64 kB / 494 MB, free: 7.422 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004612/0.1455, allocations: 195.8 kB / 494.2 MB, free: 7.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1456, allocations: 0 / 494.2 MB, free: 7.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1456, allocations: 0 / 494.2 MB, free: 7.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.1456, allocations: 0 / 494.2 MB, free: 7.23 MB / 378.7 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.001426/0.147, allocations: 0.5298 MB / 494.7 MB, free: 6.652 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.1471, allocations: 20.02 kB / 494.7 MB, free: 6.633 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.215e-05/0.1472, allocations: 46.55 kB / 494.8 MB, free: 6.578 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.019e-05/0.1473, allocations: 23.67 kB / 494.8 MB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.1476, allocations: 218.7 kB / 495 MB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.1476, allocations: 8.234 kB / 495 MB, free: 6.293 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.047e-05/0.1477, allocations: 12 kB / 495 MB, free: 6.281 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008908/0.1486, allocations: 270.6 kB / 495.3 MB, free: 6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.1486, allocations: 0 / 495.3 MB, free: 6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.334e-05/0.1487, allocations: 8 kB / 495.3 MB, free: 5.992 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-05/0.1487, allocations: 12.22 kB / 495.3 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.1498, allocations: 256.4 kB / 495.6 MB, free: 5.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.1515, allocations: 0.8177 MB / 496.4 MB, free: 4.852 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006947/0.1523, allocations: 207.6 kB / 496.6 MB, free: 4.621 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.984e-05/0.1523, allocations: 7.984 kB / 496.6 MB, free: 4.613 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.1524, allocations: 42.64 kB / 496.6 MB, free: 4.562 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 2.895e-06/0.1524, allocations: 0 / 496.6 MB, free: 4.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001726/0.1541, allocations: 357.2 kB / 497 MB, free: 4.207 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.984e-05/0.1542, allocations: 106.8 kB / 497.1 MB, free: 4.078 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004388/0.1547, allocations: 257 kB / 497.3 MB, free: 3.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.1547, allocations: 29.77 kB / 497.4 MB, free: 3.785 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.1549, allocations: 186.3 kB / 497.5 MB, free: 3.602 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.398e-05/0.155, allocations: 43.45 kB / 497.6 MB, free: 3.559 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.956e-05/0.155, allocations: 0 / 497.6 MB, free: 3.559 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1551, allocations: 319.2 kB / 497.9 MB, free: 3.238 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004954/0.1556, allocations: 107.8 kB / 498 MB, free: 3.133 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005251/0.1562, allocations: 148.7 kB / 498.1 MB, free: 2.973 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005472/0.1567, allocations: 119.8 kB / 498.3 MB, free: 2.855 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.1568, allocations: 0 / 498.3 MB, free: 2.855 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001207/0.158, allocations: 285.2 kB / 498.5 MB, free: 2.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.158, allocations: 8 kB / 498.6 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.956e-05/0.1581, allocations: 11.94 kB / 498.6 MB, free: 2.551 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.1581, allocations: 4.156 kB / 498.6 MB, free: 2.547 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004447/0.1586, allocations: 55.89 kB / 498.6 MB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.1586, allocations: 0 / 498.6 MB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000386/0.159, allocations: 35.77 kB / 498.7 MB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.243e-05/0.1591, allocations: 15.98 kB / 498.7 MB, free: 2.441 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002083/0.1593, allocations: 141.8 kB / 498.8 MB, free: 2.293 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.1594, allocations: 15.81 kB / 498.8 MB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008553/0.1603, allocations: 227.2 kB / 499 MB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.1603, allocations: 7.953 kB / 499.1 MB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.1603, allocations: 4 kB / 499.1 MB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1603, allocations: 0 / 499.1 MB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006254/0.161, allocations: 257.4 kB / 499.3 MB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-05/0.161, allocations: 19.98 kB / 499.3 MB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003527/0.1614, allocations: 31.97 kB / 499.4 MB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.1614, allocations: 0 / 499.4 MB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.1614, allocations: 7.984 kB / 499.4 MB, free: 1.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.1615, allocations: 4 kB / 499.4 MB, free: 1.676 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/0.1615, allocations: 7.953 kB / 499.4 MB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.1627, allocations: 0.5129 MB / 499.9 MB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.1629, allocations: 108.7 kB / 0.4883 GB, free: 1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.796e-05/0.1629, allocations: 11.92 kB / 0.4883 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004344/0.1634, allocations: 23.98 kB / 0.4883 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.39e-05/0.1635, allocations: 7.984 kB / 0.4883 GB, free: 0.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.54e-05/0.1635, allocations: 7.984 kB / 0.4883 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002961/0.1638, allocations: 192.4 kB / 0.4885 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1639, allocations: 4 kB / 0.4885 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007207/0.1646, allocations: 87.94 kB / 0.4886 GB, free: 0.6719 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3191/0.4837, allocations: 1.284 MB / 0.4899 GB, free: 42.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001173/0.4849, allocations: 310.8 kB / 0.4902 GB, free: 42.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.4849, allocations: 1.094 kB / 0.4902 GB, free: 42.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005428/0.4855, allocations: 194.3 kB / 0.4903 GB, free: 42.37 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005639/0.4861, allocations: 41.14 kB / 0.4904 GB, free: 42.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004558/0.4906, allocations: 2.293 MB / 0.4926 GB, free: 41.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.491, allocations: 0.7461 MB / 0.4933 GB, free: 40.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.4912, allocations: 56.72 kB / 0.4934 GB, free: 40.39 MB / 378.7 MB Notification: Performance of SimCode: time 1.083e-06/0.4912, allocations: 0 / 0.4934 GB, free: 40.39 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.652/3.143, allocations: 4.787 MB / 0.4981 GB, free: 40.08 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_res.mat does not exist to compare? outputFormat=mat