Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_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.001077/0.001077, allocations: 99.8 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001299/0.0013, allocations: 197.4 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, 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.2332/0.2332, allocations: 45.92 MB / 344 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002422/0.0002423, allocations: 8 kB / 418.1 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1423, allocations: 63.46 MB / 481.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.002218/0.1446, allocations: 1.638 MB / 483.2 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.1459, allocations: 0.8265 MB / 484 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.918e-05/0.146, allocations: 4 kB / 484 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.1462, allocations: 51.72 kB / 484.1 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002688/0.1465, allocations: 87.7 kB / 484.1 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.1467, allocations: 67.86 kB / 484.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002803/0.147, allocations: 251.4 kB / 484.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.279e-05/0.1471, allocations: 44.72 kB / 484.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002024/0.1473, allocations: 123.5 kB / 484.6 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.1475, allocations: 135.4 kB / 484.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.1475, allocations: 8 kB / 484.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002552/0.1478, allocations: 151.8 kB / 484.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.175e-05/0.1479, allocations: 87.64 kB / 485 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.538e-05/0.148, allocations: 73.52 kB / 485.1 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003241/0.1483, allocations: 271.6 kB / 485.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.1483, allocations: 4 kB / 485.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1483, allocations: 0 / 485.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.1483, allocations: 0 / 485.3 MB, free: 1.422 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0008964/0.1492, allocations: 0.5927 MB / 485.9 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.1493, allocations: 16.02 kB / 485.9 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.572e-05/0.1494, allocations: 78.53 kB / 486 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.775e-05/0.1495, allocations: 47.44 kB / 486.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.1498, allocations: 270.5 kB / 486.3 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.1499, allocations: 32.98 kB / 486.4 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-05/0.1499, allocations: 32 kB / 486.4 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007921/0.1507, allocations: 0.549 MB / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1507, allocations: 0 / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.662e-05/0.1508, allocations: 19.98 kB / 487 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.736e-05/0.1509, allocations: 40.98 kB / 487 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008978/0.1518, allocations: 0.5893 MB / 487.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.1535, allocations: 1.191 MB / 488.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006198/0.1541, allocations: 384.1 kB / 489.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.684e-05/0.1542, allocations: 12.16 kB / 489.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.1542, allocations: 38.75 kB / 489.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.784e-06/0.1542, allocations: 0 / 489.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009346/0.1552, allocations: 470.5 kB / 489.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.1552, allocations: 59.34 kB / 489.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004405/0.1557, allocations: 449.6 kB / 490.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.1557, allocations: 33.7 kB / 490.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.1558, allocations: 196.3 kB / 490.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.424e-05/0.1559, allocations: 78.83 kB / 490.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.572e-05/0.1559, allocations: 8 kB / 490.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.156, allocations: 354.8 kB / 490.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/0.1563, allocations: 119.8 kB / 490.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/0.1566, allocations: 127.4 kB / 491.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/0.1568, allocations: 135.8 kB / 491.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1568, allocations: 0 / 491.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006129/0.1575, allocations: 345 kB / 491.5 MB, free: 11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.1575, allocations: 8 kB / 491.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1575, allocations: 4 kB / 491.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1575, allocations: 0 / 491.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007589/0.1583, allocations: 151.8 kB / 491.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002833/0.1611, allocations: 5.52 MB / 497.2 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/0.1614, allocations: 55.39 kB / 497.3 MB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.1615, allocations: 11.98 kB / 497.3 MB, free: 5.043 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.0002435/0.1617, allocations: 192.2 kB / 497.5 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.25e-05/0.1618, allocations: 39.52 kB / 497.5 MB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008723/0.1627, allocations: 459.8 kB / 498 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/0.1627, allocations: 4 kB / 498 MB, free: 4.348 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.1627, allocations: 0 / 498 MB, free: 4.348 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1627, allocations: 0 / 498 MB, free: 4.348 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004519/0.1632, allocations: 385.2 kB / 498.3 MB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1632, allocations: 4 kB / 498.3 MB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006952/0.1639, allocations: 147.8 kB / 498.5 MB, free: 3.773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.1639, allocations: 0 / 498.5 MB, free: 3.773 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.1639, allocations: 11.98 kB / 498.5 MB, free: 3.762 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00287/0.1668, allocations: 5.52 MB / 0.4922 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1668, allocations: 0 / 0.4922 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006654/0.1675, allocations: 462.9 kB / 0.4926 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.1676, allocations: 116.7 kB / 0.4928 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.419e-05/0.1677, allocations: 0 / 0.4928 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.1679, allocations: 12 kB / 0.4928 GB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.537e-05/0.168, allocations: 15.97 kB / 0.4928 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.168, allocations: 19.98 kB / 0.4928 GB, free: 13.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003976/0.1684, allocations: 331.1 kB / 0.4931 GB, free: 13.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.523e-06/0.1684, allocations: 3.938 kB / 0.4931 GB, free: 13.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004084/0.1688, allocations: 107.8 kB / 0.4932 GB, free: 12.95 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.001036/0.1699, allocations: 1.024 MB / 0.4942 GB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.171, allocations: 411.5 kB / 0.4946 GB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.1711, allocations: 4 kB / 0.4946 GB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008233/0.1719, allocations: 283.7 kB / 0.4949 GB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.1723, allocations: 81.5 kB / 0.495 GB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003661/0.176, allocations: 2.629 MB / 0.4975 GB, free: 8.461 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005902/0.1766, allocations: 0.8542 MB / 0.4984 GB, free: 7.578 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002611/0.1769, allocations: 95.19 kB / 0.4985 GB, free: 7.488 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.177, allocations: 107.4 kB / 0.4986 GB, free: 7.387 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.177, allocations: 0 / 0.4986 GB, free: 7.387 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2517/0.4288, allocations: 10.22 MB / 0.5085 GB, free: 41.75 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/0.429, allocations: 255.9 kB / 0.5088 GB, free: 41.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.09/2.519, allocations: 0 / 0.5088 GB, free: 41.41 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat