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.0007674/0.0007675, allocations: 100.5 kB / 17 MB, free: 6.113 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000843/0.000843, allocations: 198.3 kB / 17.91 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.3 MB / 246 MB, free: 11.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2126/0.2126, allocations: 45.91 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002991/0.0002991, allocations: 7.938 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1422, allocations: 63.47 MB / 481.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall): time 0.002258/0.1445, allocations: 1.774 MB / 483.4 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002567/0.1471, allocations: 1.945 MB / 485.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.525e-05/0.1472, allocations: 0 / 485.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002353/0.1474, allocations: 51.67 kB / 485.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.1477, allocations: 95.47 kB / 485.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007533/0.1485, allocations: 354.8 kB / 485.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000483/0.149, allocations: 489.9 kB / 486.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.104e-05/0.149, allocations: 44.7 kB / 486.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002414/0.1493, allocations: 163.2 kB / 486.6 MB, free: 348 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.1496, allocations: 191.1 kB / 486.7 MB, free: 156 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.629e-05/0.1496, allocations: 12 kB / 486.8 MB, free: 144 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008639/0.1505, allocations: 0.5771 MB / 487.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.1506, allocations: 111.5 kB / 487.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.865e-05/0.1507, allocations: 81.52 kB / 487.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005507/0.1513, allocations: 478.9 kB / 488 MB, free: 14.9 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1513, allocations: 0 / 488 MB, free: 14.9 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1513, allocations: 0 / 488 MB, free: 14.9 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1513, allocations: 4 kB / 488 MB, free: 14.89 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.001167/0.1525, allocations: 0.7056 MB / 488.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.1525, allocations: 8.031 kB / 488.7 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.308e-05/0.1526, allocations: 90.52 kB / 488.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003636/0.153, allocations: 83.39 kB / 488.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.1534, allocations: 307.4 kB / 489.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.1534, allocations: 29 kB / 489.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-05/0.1535, allocations: 43.98 kB / 489.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009345/0.1544, allocations: 0.5816 MB / 489.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.1545, allocations: 4 kB / 489.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.763e-05/0.1545, allocations: 19.98 kB / 489.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.741e-05/0.1545, allocations: 20.94 kB / 489.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008418/0.1554, allocations: 451.6 kB / 490.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.1573, allocations: 1.387 MB / 491.7 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005341/0.1578, allocations: 283.6 kB / 492 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003269/0.1582, allocations: 150.5 kB / 492.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.349e-05/0.1582, allocations: 7.984 kB / 492.1 MB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.1583, allocations: 42.55 kB / 492.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 3.557e-06/0.1583, allocations: 112 / 492.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001204/0.1595, allocations: 0.4957 MB / 492.7 MB, free: 9.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/0.1596, allocations: 110.8 kB / 492.8 MB, free: 9.848 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006317/0.1602, allocations: 0.5369 MB / 493.3 MB, free: 9.301 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.1602, allocations: 29.7 kB / 493.3 MB, free: 9.266 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.1604, allocations: 216.2 kB / 493.5 MB, free: 9.051 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.1605, allocations: 51.2 kB / 493.6 MB, free: 9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.719e-05/0.1605, allocations: 4 kB / 493.6 MB, free: 8.996 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1607, allocations: 354.8 kB / 493.9 MB, free: 8.641 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.161, allocations: 144 kB / 494.1 MB, free: 8.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003424/0.1613, allocations: 188.4 kB / 494.3 MB, free: 8.301 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.1617, allocations: 151.8 kB / 494.4 MB, free: 8.152 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1617, allocations: 0 / 494.4 MB, free: 8.152 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007868/0.1625, allocations: 408.9 kB / 494.8 MB, free: 7.746 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.1625, allocations: 4 kB / 494.8 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.7e-05/0.1626, allocations: 35.98 kB / 494.9 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1626, allocations: 0 / 494.9 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.1628, allocations: 35.97 kB / 494.9 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.1628, allocations: 7.953 kB / 494.9 MB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002871/0.1631, allocations: 67.44 kB / 495 MB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/0.1632, allocations: 12 kB / 495 MB, free: 7.586 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.0002008/0.1634, allocations: 186.2 kB / 495.2 MB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.1635, allocations: 43.52 kB / 495.2 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007917/0.1643, allocations: 404.8 kB / 495.6 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.1643, allocations: 4 kB / 495.6 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1643, allocations: 0 / 495.6 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.1643, allocations: 11.94 kB / 495.6 MB, free: 6.934 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005737/0.1649, allocations: 377.2 kB / 496 MB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.223e-05/0.165, allocations: 32 kB / 496 MB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.1651, allocations: 27.97 kB / 496 MB, free: 6.457 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1651, allocations: 0 / 496 MB, free: 6.457 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.1652, allocations: 15.98 kB / 496.1 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1652, allocations: 0 / 496.1 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/0.1652, allocations: 4 kB / 496.1 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008023/0.166, allocations: 0.6031 MB / 496.7 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.1662, allocations: 156.4 kB / 496.8 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.061e-05/0.1663, allocations: 11.98 kB / 496.8 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/0.1666, allocations: 23.98 kB / 496.9 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.446e-05/0.1666, allocations: 19.97 kB / 496.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.1667, allocations: 12 kB / 496.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004407/0.1671, allocations: 403 kB / 497.3 MB, free: 5.188 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1671, allocations: 0 / 497.3 MB, free: 5.188 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000629/0.1678, allocations: 155.9 kB / 497.4 MB, free: 5.035 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.001461/0.1692, allocations: 1.277 MB / 498.7 MB, free: 3.734 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000873/0.1701, allocations: 0.5344 MB / 499.2 MB, free: 3.145 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1701, allocations: 8 kB / 499.3 MB, free: 3.137 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004622/0.1706, allocations: 399.1 kB / 499.6 MB, free: 2.691 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007159/0.1713, allocations: 94.02 kB / 499.7 MB, free: 2.598 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005108/0.1765, allocations: 3.068 MB / 0.491 GB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006672/0.1771, allocations: 0.8615 MB / 0.4919 GB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002241/0.1774, allocations: 67.23 kB / 0.4919 GB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.1776, allocations: 119.4 kB / 0.492 GB, free: 14.38 MB / 382.1 MB Notification: Performance of SimCode: time 1.001e-06/0.1776, allocations: 0 / 0.492 GB, free: 14.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02815/0.2057, allocations: 12.27 MB / 0.504 GB, free: 2.375 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/0.206, allocations: 220.4 kB / 0.5042 GB, free: 2.141 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.052/2.258, allocations: 0 / 0.5042 GB, free: 2.141 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