Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.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.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_3_2_3_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.001686/0.001686, allocations: 183 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.245/2.245, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001231/0.001231, allocations: 85.5 kB / 270.9 MB, free: 8.367 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.5601/0.5601, allocations: 43.56 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005403/0.0005405, allocations: 15.98 kB / 431.5 MB, free: 6.02 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1419, allocations: 58.83 MB / 490.3 MB, free: 11.09 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.003052/0.1451, allocations: 1.618 MB / 492 MB, free: 9.465 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003622/0.1487, allocations: 1.615 MB / 493.6 MB, free: 7.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.149, allocations: 4 kB / 493.6 MB, free: 7.836 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003519/0.1493, allocations: 59.7 kB / 493.6 MB, free: 7.777 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004236/0.1498, allocations: 79.78 kB / 493.7 MB, free: 7.699 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.1511, allocations: 303.1 kB / 494 MB, free: 7.402 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004733/0.1516, allocations: 239.5 kB / 494.2 MB, free: 7.168 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.1517, allocations: 56.67 kB / 494.3 MB, free: 7.113 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/0.152, allocations: 115.4 kB / 494.4 MB, free: 7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.1523, allocations: 143.4 kB / 494.5 MB, free: 6.859 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.539e-05/0.1523, allocations: 12 kB / 494.6 MB, free: 6.848 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.1537, allocations: 0.5383 MB / 495.1 MB, free: 6.309 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.1539, allocations: 87.59 kB / 495.2 MB, free: 6.223 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.154, allocations: 81.52 kB / 495.3 MB, free: 6.137 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008262/0.1548, allocations: 387.4 kB / 495.6 MB, free: 5.758 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1549, allocations: 3.938 kB / 495.6 MB, free: 5.754 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1549, allocations: 0 / 495.6 MB, free: 5.754 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1549, allocations: 0 / 495.6 MB, free: 5.754 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.00148/0.1564, allocations: 0.62 MB / 496.3 MB, free: 5.082 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.1564, allocations: 12.03 kB / 496.3 MB, free: 5.07 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001465/0.1566, allocations: 86.5 kB / 496.4 MB, free: 4.977 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.1567, allocations: 43.48 kB / 496.4 MB, free: 4.934 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004937/0.1572, allocations: 266.4 kB / 496.7 MB, free: 4.633 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.582e-05/0.1573, allocations: 32.98 kB / 496.7 MB, free: 4.602 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.085e-05/0.1574, allocations: 32 kB / 496.7 MB, free: 4.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/0.1588, allocations: 0.5529 MB / 497.3 MB, free: 4.012 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.1588, allocations: 4 kB / 497.3 MB, free: 4.008 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-05/0.1589, allocations: 15.98 kB / 497.3 MB, free: 3.992 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.134e-05/0.159, allocations: 40.97 kB / 497.3 MB, free: 3.953 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001676/0.1607, allocations: 0.5892 MB / 497.9 MB, free: 3.359 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003019/0.1637, allocations: 1.191 MB / 499.1 MB, free: 2.117 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.165, allocations: 388 kB / 499.5 MB, free: 1.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.246e-05/0.1651, allocations: 4.172 kB / 499.5 MB, free: 1.727 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.1652, allocations: 46.69 kB / 499.5 MB, free: 1.672 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 3.397e-06/0.1652, allocations: 0 / 499.5 MB, free: 1.672 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.001737/0.1669, allocations: 470.5 kB / 0.4883 GB, free: 1.207 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.167, allocations: 59.36 kB / 0.4883 GB, free: 1.137 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008443/0.1679, allocations: 449.6 kB / 0.4888 GB, free: 0.6875 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.469e-05/0.168, allocations: 33.69 kB / 0.4888 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.1682, allocations: 226.8 kB / 0.489 GB, free: 436 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.1683, allocations: 70.94 kB / 0.4891 GB, free: 364 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.1684, allocations: 8 kB / 0.4891 GB, free: 356 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1686, allocations: 318.8 kB / 0.4894 GB, free: 28 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.373/0.5416, allocations: 118.7 kB / 0.4895 GB, free: 43.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004499/0.5421, allocations: 122.9 kB / 0.4896 GB, free: 43.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004902/0.5426, allocations: 138.4 kB / 0.4898 GB, free: 43.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.5426, allocations: 0 / 0.4898 GB, free: 43.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001149/0.5438, allocations: 322.7 kB / 0.4901 GB, free: 43.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.5438, allocations: 5.531 kB / 0.4901 GB, free: 43.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.5438, allocations: 0.6562 kB / 0.4901 GB, free: 43.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.848e-05/0.5439, allocations: 5.031 kB / 0.4901 GB, free: 43.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/0.5454, allocations: 152.9 kB / 0.4902 GB, free: 43.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003032/0.5485, allocations: 5.516 MB / 0.4956 GB, free: 37.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004545/0.549, allocations: 49.45 kB / 0.4957 GB, free: 37.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.778e-05/0.549, allocations: 9.953 kB / 0.4957 GB, free: 37.9 MB / 378.7 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.0003269/0.5494, allocations: 190.9 kB / 0.4959 GB, free: 37.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.459e-05/0.5495, allocations: 41.08 kB / 0.4959 GB, free: 37.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.5511, allocations: 474.5 kB / 0.4963 GB, free: 37.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.5511, allocations: 3.156 kB / 0.4963 GB, free: 37.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.5511, allocations: 0 / 0.4963 GB, free: 37.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.5511, allocations: 2.75 kB / 0.4963 GB, free: 37.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000725/0.5518, allocations: 367.8 kB / 0.4967 GB, free: 37.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5519, allocations: 0.6562 kB / 0.4967 GB, free: 37.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/0.5533, allocations: 154.5 kB / 0.4968 GB, free: 37.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.118e-05/0.5534, allocations: 5.734 kB / 0.4969 GB, free: 37.53 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.023e-05/0.5534, allocations: 8.188 kB / 0.4969 GB, free: 37.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00294/0.5564, allocations: 5.522 MB / 0.5023 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.5564, allocations: 0.875 kB / 0.5023 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.5577, allocations: 459.3 kB / 0.5027 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.5579, allocations: 123.5 kB / 0.5028 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.919e-05/0.558, allocations: 4.172 kB / 0.5028 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003809/0.5584, allocations: 17.44 kB / 0.5028 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.5585, allocations: 18.83 kB / 0.5028 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.933e-05/0.5586, allocations: 11.28 kB / 0.5029 GB, free: 31.97 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006645/0.5593, allocations: 338.5 kB / 0.5032 GB, free: 31.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5593, allocations: 0 / 0.5032 GB, free: 31.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007684/0.56, allocations: 144.4 kB / 0.5033 GB, free: 31.88 MB / 378.7 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.001912/0.562, allocations: 1.093 MB / 0.5044 GB, free: 31.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002313/0.5643, allocations: 414.6 kB / 0.5048 GB, free: 31.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5644, allocations: 1.156 kB / 0.5048 GB, free: 31.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001651/0.566, allocations: 288.4 kB / 0.5051 GB, free: 31.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007375/0.5668, allocations: 89.3 kB / 0.5051 GB, free: 31.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006082/0.5729, allocations: 2.656 MB / 0.5077 GB, free: 30.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.5733, allocations: 0.8586 MB / 0.5086 GB, free: 29.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003305/0.5737, allocations: 114 kB / 0.5087 GB, free: 29.7 MB / 378.7 MB Notification: Performance of SimCode: time 1.233e-06/0.5737, allocations: 0 / 0.5087 GB, free: 29.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.246/3.82, allocations: 21.17 MB / 0.5294 GB, free: 25.59 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat