Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_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.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_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.0007745/0.0007742, allocations: 97.47 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.0007787/0.0007787, 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.39/1.39, allocations: 223.3 MB / 241.9 MB, free: 360 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.1913/0.1913, allocations: 44.22 MB / 337.2 MB, free: 2.824 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002673/0.0002673, allocations: 12 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1123, allocations: 61.92 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.001927/0.1142, allocations: 1.657 MB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.1164, allocations: 1.653 MB / 475 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.795e-05/0.1164, allocations: 0 / 475 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.1167, allocations: 47.73 kB / 475 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000282/0.117, allocations: 115.5 kB / 475.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005671/0.1175, allocations: 298.9 kB / 475.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000427/0.118, allocations: 446 kB / 475.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.956e-05/0.1181, allocations: 44.7 kB / 475.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.1182, allocations: 143.3 kB / 476 MB, free: 9.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.1185, allocations: 183.2 kB / 476.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.1185, allocations: 8 kB / 476.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007476/0.1192, allocations: 0.5186 MB / 476.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.1194, allocations: 95.58 kB / 476.8 MB, free: 8.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.135e-05/0.1194, allocations: 77.52 kB / 476.9 MB, free: 8.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004543/0.1199, allocations: 423.1 kB / 477.3 MB, free: 7.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1199, allocations: 4 kB / 477.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1199, allocations: 0 / 477.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1199, allocations: 0 / 477.3 MB, free: 7.926 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0008286/0.1208, allocations: 0.62 MB / 478 MB, free: 7.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.1208, allocations: 8.031 kB / 478 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.299e-05/0.1209, allocations: 86.5 kB / 478.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.948e-05/0.121, allocations: 47.44 kB / 478.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.1213, allocations: 270.5 kB / 478.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.1213, allocations: 28.98 kB / 478.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.921e-05/0.1213, allocations: 35.95 kB / 478.4 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007913/0.1221, allocations: 0.5529 MB / 479 MB, free: 6.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1222, allocations: 0 / 479 MB, free: 6.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.288e-05/0.1222, allocations: 15.98 kB / 479 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.257e-05/0.1222, allocations: 40.97 kB / 479 MB, free: 6.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008667/0.1231, allocations: 0.5854 MB / 479.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00157/0.1247, allocations: 1.179 MB / 480.8 MB, free: 4.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006179/0.1253, allocations: 388 kB / 481.2 MB, free: 3.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/0.1256, allocations: 133.1 kB / 481.3 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.701e-05/0.1256, allocations: 8.172 kB / 481.3 MB, free: 3.777 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.1257, allocations: 46.77 kB / 481.4 MB, free: 3.723 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.342e-06/0.1257, allocations: 0 / 481.4 MB, free: 3.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008991/0.1266, allocations: 475.2 kB / 481.8 MB, free: 3.254 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.1266, allocations: 55.41 kB / 481.9 MB, free: 3.188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004404/0.1271, allocations: 449.6 kB / 482.3 MB, free: 2.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.1271, allocations: 37.7 kB / 482.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.1272, allocations: 184.4 kB / 482.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.334e-05/0.1273, allocations: 74.86 kB / 482.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/0.1273, allocations: 0 / 482.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1275, allocations: 350.8 kB / 483 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.1277, allocations: 119.9 kB / 483.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.128, allocations: 134 kB / 483.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.1282, allocations: 135.8 kB / 483.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.1282, allocations: 0 / 483.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006135/0.1288, allocations: 355.8 kB / 483.7 MB, free: 1.359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1289, allocations: 4 kB / 483.7 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1289, allocations: 0 / 483.7 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.1289, allocations: 0 / 483.7 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007052/0.1296, allocations: 163.9 kB / 483.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003078/0.1327, allocations: 5.516 MB / 489.4 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.1329, allocations: 47.47 kB / 489.4 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.133, allocations: 12.23 kB / 489.4 MB, free: 11.41 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002059/0.1332, allocations: 194.2 kB / 489.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.025e-05/0.1332, allocations: 43.47 kB / 489.7 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008673/0.1341, allocations: 456.6 kB / 490.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1341, allocations: 4 kB / 490.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1341, allocations: 0 / 490.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1342, allocations: 3.938 kB / 490.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004938/0.1347, allocations: 381.2 kB / 490.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.1347, allocations: 0 / 490.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007496/0.1354, allocations: 159.8 kB / 490.6 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.1354, allocations: 3.984 kB / 490.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.1355, allocations: 19.92 kB / 490.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003196/0.1387, allocations: 5.516 MB / 496.2 MB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1387, allocations: 288 / 496.2 MB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007863/0.1395, allocations: 465.9 kB / 496.6 MB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.1397, allocations: 120.6 kB / 496.7 MB, free: 3.773 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.958e-05/0.1397, allocations: 4 kB / 496.7 MB, free: 3.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.1399, allocations: 19.98 kB / 496.8 MB, free: 3.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.118e-05/0.14, allocations: 11.98 kB / 496.8 MB, free: 3.738 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.804e-05/0.1401, allocations: 15.98 kB / 496.8 MB, free: 3.723 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004483/0.1405, allocations: 335.1 kB / 497.1 MB, free: 3.395 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1405, allocations: 0 / 497.1 MB, free: 3.395 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005679/0.1411, allocations: 135.8 kB / 497.3 MB, free: 3.262 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001456/0.1426, allocations: 1.096 MB / 498.4 MB, free: 2.141 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.1437, allocations: 411.6 kB / 498.8 MB, free: 1.738 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1438, allocations: 0 / 498.8 MB, free: 1.738 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007852/0.1446, allocations: 289 kB / 499 MB, free: 1.457 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005138/0.1451, allocations: 89.38 kB / 499.1 MB, free: 1.371 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003959/0.149, allocations: 2.696 MB / 0.4901 GB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.1495, allocations: 0.8581 MB / 0.4909 GB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002473/0.1497, allocations: 83.2 kB / 0.491 GB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.1499, allocations: 111.4 kB / 0.4911 GB, free: 13.55 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1499, allocations: 4 kB / 0.4911 GB, free: 13.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02413/0.174, allocations: 11.73 MB / 0.5025 GB, free: 2.133 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/0.1743, allocations: 262.5 kB / 0.5028 GB, free: 1.785 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.185/2.359, allocations: 3.938 kB / 0.5028 GB, free: 1.781 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat