Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.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_laminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007839/0.0007838, allocations: 101.9 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000831/0.0008312, allocations: 192.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2132/0.2132, allocations: 45.92 MB / 344.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002822/0.0002823, allocations: 4 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.138, allocations: 63.47 MB / 481.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.002495/0.1406, allocations: 1.767 MB / 483.4 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.1423, allocations: 1.165 MB / 484.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.344e-05/0.1424, allocations: 4 kB / 484.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002282/0.1426, allocations: 43.73 kB / 484.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.1429, allocations: 83.5 kB / 484.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004402/0.1433, allocations: 163.4 kB / 484.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004944/0.1438, allocations: 473.9 kB / 485.3 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.688e-05/0.1439, allocations: 48.7 kB / 485.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000237/0.1442, allocations: 151.2 kB / 485.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002347/0.1444, allocations: 183.2 kB / 485.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.1444, allocations: 8 kB / 485.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004433/0.1449, allocations: 255.5 kB / 486 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.145, allocations: 91.58 kB / 486.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.482e-05/0.1451, allocations: 81.52 kB / 486.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004101/0.1455, allocations: 363.2 kB / 486.5 MB, free: 404 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1455, allocations: 3.938 kB / 486.5 MB, free: 400 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1455, allocations: 0 / 486.5 MB, free: 400 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.1455, allocations: 0 / 486.5 MB, free: 400 kB / 350.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.00103/0.1466, allocations: 0.6512 MB / 487.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.1466, allocations: 8.031 kB / 487.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.168e-05/0.1467, allocations: 82.52 kB / 487.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003831/0.1471, allocations: 95.39 kB / 487.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.1475, allocations: 282.2 kB / 487.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.1475, allocations: 29 kB / 487.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.201e-05/0.1476, allocations: 39.98 kB / 487.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009431/0.1485, allocations: 0.5817 MB / 488.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1485, allocations: 3.938 kB / 488.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/0.1486, allocations: 16 kB / 488.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.524e-05/0.1486, allocations: 20.94 kB / 488.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008027/0.1494, allocations: 455.6 kB / 488.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.1512, allocations: 1.371 MB / 490.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005074/0.1517, allocations: 283.6 kB / 490.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.1521, allocations: 142.5 kB / 490.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.177e-05/0.1521, allocations: 23.97 kB / 490.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.1522, allocations: 30.56 kB / 490.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.744e-06/0.1522, allocations: 0 / 490.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001177/0.1534, allocations: 497 kB / 491.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/0.1534, allocations: 106.8 kB / 491.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005537/0.154, allocations: 0.5017 MB / 491.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.154, allocations: 29.7 kB / 491.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.1542, allocations: 200.2 kB / 491.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.04e-05/0.1543, allocations: 59.23 kB / 492 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.525e-05/0.1543, allocations: 0 / 492 MB, free: 10.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1544, allocations: 350.8 kB / 492.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/0.1547, allocations: 136 kB / 492.4 MB, free: 10.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003275/0.1551, allocations: 184.4 kB / 492.6 MB, free: 9.973 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003404/0.1554, allocations: 162.6 kB / 492.8 MB, free: 9.816 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1554, allocations: 7.938 kB / 492.8 MB, free: 9.809 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007971/0.1562, allocations: 404.9 kB / 493.2 MB, free: 9.406 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1563, allocations: 4 kB / 493.2 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-05/0.1563, allocations: 28 kB / 493.2 MB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1564, allocations: 3.984 kB / 493.2 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.1566, allocations: 44.09 kB / 493.2 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.1566, allocations: 11.95 kB / 493.3 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/0.1569, allocations: 59.36 kB / 493.3 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/0.1569, allocations: 23.92 kB / 493.3 MB, free: 9.234 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.0001866/0.1571, allocations: 178.3 kB / 493.5 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.869e-05/0.1572, allocations: 39.53 kB / 493.6 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000772/0.158, allocations: 392.8 kB / 493.9 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.158, allocations: 7.984 kB / 493.9 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.158, allocations: 4 kB / 493.9 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.158, allocations: 3.953 kB / 494 MB, free: 8.605 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005673/0.1586, allocations: 369.3 kB / 494.3 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.334e-05/0.1587, allocations: 31.97 kB / 494.3 MB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.1588, allocations: 31.97 kB / 494.4 MB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1588, allocations: 0 / 494.4 MB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.1589, allocations: 12 kB / 494.4 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1589, allocations: 0 / 494.4 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1589, allocations: 4 kB / 494.4 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008328/0.1597, allocations: 0.5992 MB / 495 MB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.1599, allocations: 120.6 kB / 495.1 MB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.825e-05/0.1599, allocations: 8 kB / 495.1 MB, free: 7.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002705/0.1602, allocations: 27.97 kB / 495.1 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.412e-05/0.1603, allocations: 19.92 kB / 495.2 MB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.1603, allocations: 15.98 kB / 495.2 MB, free: 7.293 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004095/0.1607, allocations: 371.1 kB / 495.5 MB, free: 6.934 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1607, allocations: 0 / 495.5 MB, free: 6.934 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005112/0.1613, allocations: 119.9 kB / 495.7 MB, free: 6.816 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.001298/0.1626, allocations: 1.197 MB / 496.9 MB, free: 5.594 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008289/0.1634, allocations: 0.5419 MB / 497.4 MB, free: 4.996 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1634, allocations: 320 / 497.4 MB, free: 4.996 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004576/0.1639, allocations: 403.1 kB / 497.8 MB, free: 4.547 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006805/0.1646, allocations: 93.56 kB / 497.9 MB, free: 4.453 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004284/0.1689, allocations: 2.859 MB / 0.489 GB, free: 1.516 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.1693, allocations: 0.85 MB / 0.4898 GB, free: 0.6406 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001655/0.1695, allocations: 55.25 kB / 0.4899 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.1696, allocations: 107.4 kB / 0.49 GB, free: 492 kB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1697, allocations: 7.938 kB / 0.49 GB, free: 484 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.1934, allocations: 10.51 MB / 0.5003 GB, free: 6.23 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/0.1936, allocations: 231 kB / 0.5005 GB, free: 5.988 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.039/2.232, allocations: 0 / 0.5005 GB, free: 5.988 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat does not exist to compare? outputFormat=mat