Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.0007382/0.0007382, allocations: 98.17 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008539/0.0008541, allocations: 193.9 kB / 17.9 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.3 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2063/0.2063, allocations: 45.91 MB / 344.1 MB, free: 12.24 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003054/0.0003054, allocations: 8 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1424, allocations: 63.48 MB / 481.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.002199/0.1446, allocations: 1.673 MB / 483.3 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002521/0.1472, allocations: 1.711 MB / 485 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.196e-05/0.1473, allocations: 0 / 485 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002614/0.1476, allocations: 47.72 kB / 485.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003517/0.1479, allocations: 111.5 kB / 485.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006394/0.1486, allocations: 291 kB / 485.5 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004593/0.149, allocations: 450 kB / 485.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.745e-05/0.1491, allocations: 40.72 kB / 486 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000239/0.1494, allocations: 147.2 kB / 486.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002856/0.1497, allocations: 191.2 kB / 486.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.1497, allocations: 12 kB / 486.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007963/0.1505, allocations: 0.5225 MB / 486.8 MB, free: 76 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.1506, allocations: 95.56 kB / 486.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.426e-05/0.1507, allocations: 77.52 kB / 487 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005185/0.1512, allocations: 427.1 kB / 487.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1513, allocations: 4 kB / 487.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1513, allocations: 0 / 487.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.892e-06/0.1513, allocations: 0 / 487.4 MB, free: 15.48 MB / 366.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.001033/0.1523, allocations: 0.6161 MB / 488 MB, free: 14.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.079e-05/0.1524, allocations: 8.031 kB / 488 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001146/0.1525, allocations: 90.45 kB / 488.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.215e-05/0.1526, allocations: 39.44 kB / 488.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.153, allocations: 278.5 kB / 488.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.337e-05/0.153, allocations: 25 kB / 488.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.903e-05/0.1531, allocations: 35.98 kB / 488.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009115/0.154, allocations: 0.5646 MB / 489.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.154, allocations: 0 / 489.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.477e-05/0.1541, allocations: 12 kB / 489.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.998e-05/0.1541, allocations: 36.98 kB / 489.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000978/0.1551, allocations: 0.5815 MB / 489.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/0.157, allocations: 1.183 MB / 490.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006934/0.1577, allocations: 388.1 kB / 491.3 MB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002713/0.158, allocations: 137.1 kB / 491.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.818e-05/0.158, allocations: 12.16 kB / 491.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.1581, allocations: 38.69 kB / 491.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.462e-06/0.1581, allocations: 0 / 491.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009919/0.1591, allocations: 481.3 kB / 491.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.1591, allocations: 55.41 kB / 492 MB, free: 10.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005152/0.1597, allocations: 453.6 kB / 492.4 MB, free: 10.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.1597, allocations: 33.7 kB / 492.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.1598, allocations: 184.4 kB / 492.6 MB, free: 10.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.66e-05/0.1599, allocations: 82.83 kB / 492.7 MB, free: 9.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.657e-05/0.1599, allocations: 4 kB / 492.7 MB, free: 9.977 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.1601, allocations: 346.8 kB / 493 MB, free: 9.629 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.1604, allocations: 123.9 kB / 493.2 MB, free: 9.508 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.1606, allocations: 127.8 kB / 493.3 MB, free: 9.383 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.1609, allocations: 131.9 kB / 493.4 MB, free: 9.254 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1609, allocations: 3.938 kB / 493.4 MB, free: 9.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006664/0.1616, allocations: 360.1 kB / 493.8 MB, free: 8.895 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1616, allocations: 4 kB / 493.8 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.1616, allocations: 0 / 493.8 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1616, allocations: 0 / 493.8 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007289/0.1624, allocations: 159.9 kB / 493.9 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003262/0.1656, allocations: 5.52 MB / 499.5 MB, free: 3.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.1659, allocations: 43.44 kB / 499.5 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.1659, allocations: 19.94 kB / 499.5 MB, free: 2.941 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.00025/0.1662, allocations: 189.9 kB / 499.7 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.119e-05/0.1662, allocations: 35.53 kB / 499.7 MB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009073/0.1671, allocations: 464.5 kB / 0.4885 GB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.1672, allocations: 0 / 0.4885 GB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1672, allocations: 0 / 0.4885 GB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1672, allocations: 3.984 kB / 0.4885 GB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004685/0.1677, allocations: 377.2 kB / 0.4888 GB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1677, allocations: 0 / 0.4888 GB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006568/0.1683, allocations: 159.9 kB / 0.489 GB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.1683, allocations: 4 kB / 0.489 GB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.1684, allocations: 11.98 kB / 0.489 GB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002801/0.1712, allocations: 5.516 MB / 0.4944 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1712, allocations: 288 / 0.4944 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006881/0.1719, allocations: 462.7 kB / 0.4948 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.172, allocations: 116.7 kB / 0.4949 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.371e-05/0.1721, allocations: 4 kB / 0.4949 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.1723, allocations: 19.98 kB / 0.495 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.585e-05/0.1723, allocations: 19.97 kB / 0.495 GB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.1724, allocations: 8 kB / 0.495 GB, free: 11.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003577/0.1727, allocations: 335.1 kB / 0.4953 GB, free: 10.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1727, allocations: 0 / 0.4953 GB, free: 10.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004971/0.1732, allocations: 147.8 kB / 0.4955 GB, free: 10.8 MB / 382.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.001174/0.1744, allocations: 1.109 MB / 0.4965 GB, free: 9.676 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.1755, allocations: 411.6 kB / 0.4969 GB, free: 9.273 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1756, allocations: 0 / 0.4969 GB, free: 9.273 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007539/0.1763, allocations: 279.7 kB / 0.4972 GB, free: 9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.1768, allocations: 89.44 kB / 0.4973 GB, free: 8.914 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003642/0.1805, allocations: 2.701 MB / 0.4999 GB, free: 6.156 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.1809, allocations: 0.8504 MB / 0.5007 GB, free: 5.277 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002434/0.1811, allocations: 87.16 kB / 0.5008 GB, free: 5.195 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.1813, allocations: 111.4 kB / 0.5009 GB, free: 5.09 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1813, allocations: 4 kB / 0.5009 GB, free: 5.086 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2623/0.4436, allocations: 11.83 MB / 0.5125 GB, free: 41.84 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001679/0.4438, allocations: 266.7 kB / 0.5127 GB, free: 41.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.057/2.501, allocations: 0 / 0.5127 GB, free: 41.5 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat