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.001042/0.001042, allocations: 96.23 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.001115/0.001115, allocations: 205.4 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.418/1.418, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2309/0.2309, allocations: 45.92 MB / 344 MB, free: 12.11 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002766/0.0002767, allocations: 8 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.131, allocations: 63.48 MB / 481.5 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar): time 0.002229/0.1332, allocations: 1.72 MB / 483.3 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.1349, allocations: 1.111 MB / 484.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.126e-05/0.135, allocations: 7.938 kB / 484.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002416/0.1353, allocations: 47.78 kB / 484.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.1355, allocations: 75.73 kB / 484.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004638/0.1359, allocations: 155.6 kB / 484.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003943/0.1363, allocations: 299.3 kB / 484.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.951e-05/0.1364, allocations: 44.7 kB / 485 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002334/0.1367, allocations: 139.4 kB / 485.1 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.1369, allocations: 155.4 kB / 485.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.281e-05/0.1369, allocations: 12 kB / 485.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004301/0.1374, allocations: 263.7 kB / 485.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.72e-05/0.1375, allocations: 75.66 kB / 485.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.048e-05/0.1376, allocations: 85.5 kB / 485.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004188/0.138, allocations: 339.5 kB / 486 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.138, allocations: 0 / 486 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.138, allocations: 0 / 486 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.138, allocations: 0 / 486 MB, free: 0.7461 MB / 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.001038/0.1391, allocations: 0.6472 MB / 486.7 MB, free: 52 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.1391, allocations: 12.03 kB / 486.7 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001057/0.1392, allocations: 86.52 kB / 486.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004227/0.1397, allocations: 83.39 kB / 486.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004039/0.1401, allocations: 286.2 kB / 487.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.1401, allocations: 29 kB / 487.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.352e-05/0.1402, allocations: 36 kB / 487.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000893/0.1411, allocations: 0.5817 MB / 487.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.1411, allocations: 3.938 kB / 487.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.678e-05/0.1411, allocations: 20 kB / 487.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.472e-05/0.1412, allocations: 21 kB / 487.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008024/0.142, allocations: 451.5 kB / 488.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.1438, allocations: 1.387 MB / 489.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005337/0.1443, allocations: 287.5 kB / 489.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.435e-05/0.1444, allocations: 11.97 kB / 490 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.1444, allocations: 42.56 kB / 490 MB, free: 12.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.1444, allocations: 0 / 490 MB, free: 12.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.00125/0.1457, allocations: 0.7176 MB / 490.7 MB, free: 11.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.1457, allocations: 106.8 kB / 490.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005323/0.1463, allocations: 0.4978 MB / 491.3 MB, free: 11.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.1463, allocations: 29.7 kB / 491.3 MB, free: 11.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.1465, allocations: 204.2 kB / 491.5 MB, free: 10.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.791e-05/0.1465, allocations: 55.2 kB / 491.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.771e-05/0.1465, allocations: 4 kB / 491.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1467, allocations: 350.8 kB / 491.9 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003116/0.147, allocations: 140 kB / 492.1 MB, free: 10.37 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003361/0.1474, allocations: 181.4 kB / 492.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/0.1477, allocations: 155.8 kB / 492.4 MB, free: 10.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1477, allocations: 0 / 492.4 MB, free: 10.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008359/0.1486, allocations: 400.9 kB / 492.8 MB, free: 9.625 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.1486, allocations: 8 kB / 492.8 MB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.439e-05/0.1487, allocations: 27.97 kB / 492.8 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.1487, allocations: 8 kB / 492.8 MB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.1489, allocations: 39.97 kB / 492.9 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.1489, allocations: 3.984 kB / 492.9 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002687/0.1492, allocations: 71.39 kB / 493 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.1492, allocations: 12 kB / 493 MB, free: 9.457 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.0002021/0.1494, allocations: 186.2 kB / 493.1 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.693e-05/0.1495, allocations: 39.52 kB / 493.2 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007486/0.1503, allocations: 399.4 kB / 493.6 MB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.1503, allocations: 7.938 kB / 493.6 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.1503, allocations: 0 / 493.6 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1503, allocations: 3.984 kB / 493.6 MB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000529/0.1509, allocations: 369.2 kB / 493.9 MB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.751e-05/0.1509, allocations: 27.97 kB / 494 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.1511, allocations: 31.97 kB / 494 MB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.1511, allocations: 4 kB / 494 MB, free: 8.348 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.1511, allocations: 11.98 kB / 494 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1511, allocations: 4 kB / 494 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.1511, allocations: 0 / 494 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008257/0.152, allocations: 0.6203 MB / 494.6 MB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/0.1521, allocations: 124.5 kB / 494.8 MB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.002e-05/0.1522, allocations: 8 kB / 494.8 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002806/0.1525, allocations: 23.98 kB / 494.8 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.495e-05/0.1526, allocations: 23.92 kB / 494.8 MB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.1526, allocations: 15.92 kB / 494.8 MB, free: 7.473 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003656/0.153, allocations: 371.1 kB / 495.2 MB, free: 7.113 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.153, allocations: 0 / 495.2 MB, free: 7.113 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004884/0.1535, allocations: 119.9 kB / 495.3 MB, free: 6.996 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.001241/0.1547, allocations: 1.355 MB / 496.7 MB, free: 5.605 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008418/0.1556, allocations: 0.5341 MB / 497.2 MB, free: 5.016 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1556, allocations: 8.312 kB / 497.2 MB, free: 5.008 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004556/0.1561, allocations: 395.7 kB / 497.6 MB, free: 4.566 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004988/0.1566, allocations: 89.56 kB / 497.7 MB, free: 4.477 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004259/0.1608, allocations: 3.549 MB / 0.4895 GB, free: 0.8398 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.1613, allocations: 0.8539 MB / 0.4903 GB, free: 15.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001732/0.1614, allocations: 63.25 kB / 0.4904 GB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.1616, allocations: 107.3 kB / 0.4905 GB, free: 15.79 MB / 382.1 MB Notification: Performance of SimCode: time 1.433e-06/0.1616, allocations: 0 / 0.4905 GB, free: 15.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02344/0.185, allocations: 10.35 MB / 0.5006 GB, free: 5.703 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/0.1853, allocations: 214.2 kB / 0.5008 GB, free: 5.469 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.022/2.207, allocations: 3.094 kB / 0.5008 GB, free: 5.469 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