Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001028/0.001028, allocations: 97.02 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001093/0.001093, allocations: 202.7 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2243/0.2243, allocations: 45.91 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004437/0.0004437, allocations: 11.98 kB / 418.1 MB, free: 20.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1495, allocations: 63.46 MB / 481.5 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall): time 0.002532/0.1521, allocations: 1.732 MB / 483.3 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003126/0.1552, allocations: 1.848 MB / 485.1 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002767/0.1555, allocations: 4 kB / 485.1 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004229/0.156, allocations: 51.67 kB / 485.2 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000515/0.1565, allocations: 87.72 kB / 485.3 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.1579, allocations: 351 kB / 485.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004722/0.1584, allocations: 299.3 kB / 485.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1585, allocations: 44.72 kB / 485.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003255/0.1588, allocations: 147.3 kB / 486.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000271/0.1591, allocations: 163.3 kB / 486.2 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.384e-05/0.1592, allocations: 12 kB / 486.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.1602, allocations: 0.6046 MB / 486.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001649/0.1604, allocations: 107.6 kB / 487 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.1605, allocations: 77.52 kB / 487 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000691/0.1612, allocations: 447.2 kB / 487.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1613, allocations: 7.938 kB / 487.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1613, allocations: 4 kB / 487.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.1613, allocations: 0 / 487.5 MB, free: 15.25 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001367/0.1627, allocations: 0.6979 MB / 488.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.1627, allocations: 16.02 kB / 488.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001257/0.1628, allocations: 82.53 kB / 488.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004358/0.1633, allocations: 91.39 kB / 488.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004693/0.1638, allocations: 307.4 kB / 488.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/0.1638, allocations: 29 kB / 488.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.219e-05/0.1639, allocations: 40 kB / 488.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000968/0.1649, allocations: 0.5777 MB / 489.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.1649, allocations: 3.984 kB / 489.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.643e-05/0.1649, allocations: 16 kB / 489.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.891e-05/0.165, allocations: 21 kB / 489.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008471/0.1658, allocations: 451.5 kB / 489.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.1679, allocations: 1.414 MB / 491.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006682/0.1686, allocations: 283.6 kB / 491.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.379e-05/0.1686, allocations: 12.08 kB / 491.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.1687, allocations: 46.44 kB / 491.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 2.445e-06/0.1687, allocations: 0 / 491.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001338/0.17, allocations: 0.7175 MB / 492.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.051e-05/0.1701, allocations: 110.8 kB / 492.4 MB, free: 10.06 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006803/0.1708, allocations: 0.5369 MB / 492.9 MB, free: 9.516 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.1708, allocations: 25.7 kB / 492.9 MB, free: 9.484 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.171, allocations: 220.2 kB / 493.1 MB, free: 9.266 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.603e-05/0.1711, allocations: 55.2 kB / 493.2 MB, free: 9.211 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.707e-05/0.1711, allocations: 4 kB / 493.2 MB, free: 9.207 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1713, allocations: 350.8 kB / 493.5 MB, free: 8.855 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/0.1716, allocations: 148 kB / 493.7 MB, free: 8.711 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003731/0.172, allocations: 187.3 kB / 493.9 MB, free: 8.512 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003723/0.1724, allocations: 151.9 kB / 494 MB, free: 8.363 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1724, allocations: 0 / 494 MB, free: 8.363 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008626/0.1733, allocations: 403.9 kB / 494.4 MB, free: 7.965 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.1733, allocations: 8 kB / 494.4 MB, free: 7.957 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-05/0.1734, allocations: 27.97 kB / 494.5 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.1734, allocations: 4 kB / 494.5 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.1736, allocations: 40.09 kB / 494.5 MB, free: 7.887 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.1737, allocations: 3.938 kB / 494.5 MB, free: 7.883 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003331/0.174, allocations: 71.36 kB / 494.6 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.174, allocations: 15.92 kB / 494.6 MB, free: 7.797 MB / 366.1 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 (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0002382/0.1743, allocations: 186.3 kB / 494.8 MB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.1744, allocations: 39.53 kB / 494.8 MB, free: 7.566 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007845/0.1752, allocations: 400.8 kB / 495.2 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.1752, allocations: 11.98 kB / 495.2 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1752, allocations: 0 / 495.2 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1752, allocations: 0 / 495.2 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005703/0.1758, allocations: 377.2 kB / 495.6 MB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.976e-05/0.1759, allocations: 27.97 kB / 495.6 MB, free: 6.711 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.176, allocations: 35.97 kB / 495.6 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.1761, allocations: 0 / 495.6 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.1761, allocations: 8 kB / 495.6 MB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.1761, allocations: 4 kB / 495.6 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1761, allocations: 0 / 495.6 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009071/0.177, allocations: 0.626 MB / 496.3 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002648/0.1773, allocations: 176.3 kB / 496.4 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.404e-05/0.1774, allocations: 0 / 496.4 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003252/0.1777, allocations: 27.98 kB / 496.5 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.054e-05/0.1778, allocations: 23.92 kB / 496.5 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.1778, allocations: 12 kB / 496.5 MB, free: 5.754 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005346/0.1784, allocations: 407 kB / 496.9 MB, free: 5.359 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1784, allocations: 4 kB / 496.9 MB, free: 5.355 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006763/0.1791, allocations: 151.9 kB / 497.1 MB, free: 5.207 MB / 366.1 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001654/0.1807, allocations: 1.433 MB / 498.5 MB, free: 3.738 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008926/0.1816, allocations: 0.5323 MB / 499 MB, free: 3.152 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.1817, allocations: 0 / 499 MB, free: 3.152 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005084/0.1822, allocations: 400 kB / 499.4 MB, free: 2.707 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005405/0.1827, allocations: 97.95 kB / 499.5 MB, free: 2.609 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005923/0.1887, allocations: 3.757 MB / 0.4915 GB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005624/0.1893, allocations: 0.8655 MB / 0.4923 GB, free: 13.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002299/0.1895, allocations: 71.23 kB / 0.4924 GB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.1897, allocations: 111.4 kB / 0.4925 GB, free: 13.69 MB / 382.1 MB Notification: Performance of SimCode: time 1.372e-06/0.1897, allocations: 0 / 0.4925 GB, free: 13.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02901/0.2187, allocations: 12.11 MB / 0.5043 GB, free: 1.84 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/0.219, allocations: 217.8 kB / 0.5045 GB, free: 1.605 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.07/2.289, allocations: 0 / 0.5045 GB, free: 1.605 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_res.mat does not exist to compare? outputFormat=mat