Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001304/0.001304, allocations: 198.3 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.2 MB / 245 MB, free: 7.574 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001096/0.001096, allocations: 99.78 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4219/0.4219, allocations: 45.23 MB / 394.6 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.0003871, allocations: 8 kB / 468.5 MB, free: 7.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3809, allocations: 63.24 MB / 0.5193 GB, free: 43.61 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1303/0.5112, allocations: 99.08 MB / 0.6161 GB, free: 6.508 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/0.5116, allocations: 103.9 kB / 0.6161 GB, free: 6.41 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04375/0.5554, allocations: 14.81 MB / 0.6306 GB, free: 7.508 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.757e-06/0.5554, allocations: 4 kB / 0.6306 GB, free: 7.504 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.267e-05/0.5555, allocations: 15.88 kB / 0.6306 GB, free: 7.488 MB / 442.7 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.001043/0.5565, allocations: 0.6214 MB / 0.6312 GB, free: 6.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.5566, allocations: 8.031 kB / 0.6312 GB, free: 6.812 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.5567, allocations: 86.52 kB / 0.6313 GB, free: 6.719 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.135e-05/0.5568, allocations: 39.53 kB / 0.6314 GB, free: 6.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003895/0.5572, allocations: 279.4 kB / 0.6316 GB, free: 6.367 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.5572, allocations: 32.94 kB / 0.6317 GB, free: 6.336 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.699e-05/0.5573, allocations: 40 kB / 0.6317 GB, free: 6.297 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008659/0.5581, allocations: 0.5295 MB / 0.6322 GB, free: 5.762 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.5582, allocations: 0 / 0.6322 GB, free: 5.762 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.793e-05/0.5582, allocations: 16 kB / 0.6322 GB, free: 5.746 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-05/0.5583, allocations: 36.98 kB / 0.6323 GB, free: 5.711 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008884/0.5592, allocations: 0.5776 MB / 0.6328 GB, free: 5.133 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/0.5611, allocations: 1.203 MB / 0.634 GB, free: 3.875 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006423/0.5618, allocations: 381.6 kB / 0.6344 GB, free: 3.496 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.571e-05/0.5618, allocations: 12.17 kB / 0.6344 GB, free: 3.484 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.5618, allocations: 34.75 kB / 0.6344 GB, free: 3.441 MB / 442.7 MB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.5618, allocations: 0 / 0.6344 GB, free: 3.441 MB / 442.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009854/0.5628, allocations: 480.5 kB / 0.6349 GB, free: 2.969 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.5629, allocations: 55.41 kB / 0.6349 GB, free: 2.902 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004675/0.5634, allocations: 400.8 kB / 0.6353 GB, free: 2.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.5634, allocations: 33.64 kB / 0.6353 GB, free: 2.461 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.5635, allocations: 196.3 kB / 0.6355 GB, free: 2.266 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.653e-05/0.5636, allocations: 70.92 kB / 0.6356 GB, free: 2.195 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.473e-05/0.5637, allocations: 4 kB / 0.6356 GB, free: 2.191 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.5638, allocations: 358.8 kB / 0.6359 GB, free: 1.832 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000242/0.5641, allocations: 111.9 kB / 0.636 GB, free: 1.723 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.5643, allocations: 126.9 kB / 0.6362 GB, free: 1.602 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.5646, allocations: 139.8 kB / 0.6363 GB, free: 1.465 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.5646, allocations: 0 / 0.6363 GB, free: 1.465 MB / 442.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006658/0.5653, allocations: 341 kB / 0.6366 GB, free: 1.125 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.5653, allocations: 7.984 kB / 0.6366 GB, free: 1.117 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.5653, allocations: 0 / 0.6366 GB, free: 1.117 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.5653, allocations: 4 kB / 0.6366 GB, free: 1.113 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007786/0.5661, allocations: 151.9 kB / 0.6368 GB, free: 0.9648 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003021/0.5691, allocations: 5.516 MB / 0.6422 GB, free: 11.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/0.5694, allocations: 55.39 kB / 0.6422 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.5694, allocations: 8 kB / 0.6422 GB, free: 11.17 MB / 458.7 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.0002255/0.5697, allocations: 193.7 kB / 0.6424 GB, free: 10.97 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-05/0.5697, allocations: 31.62 kB / 0.6424 GB, free: 10.94 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008636/0.5706, allocations: 467 kB / 0.6429 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.5706, allocations: 4 kB / 0.6429 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5706, allocations: 0 / 0.6429 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.5707, allocations: 0 / 0.6429 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004755/0.5711, allocations: 381.2 kB / 0.6433 GB, free: 10.06 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5711, allocations: 4 kB / 0.6433 GB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006977/0.5718, allocations: 155.8 kB / 0.6434 GB, free: 9.902 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.5719, allocations: 4 kB / 0.6434 GB, free: 9.898 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.301e-05/0.5719, allocations: 7.984 kB / 0.6434 GB, free: 9.891 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002931/0.5748, allocations: 5.52 MB / 0.6488 GB, free: 4.16 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.5749, allocations: 0 / 0.6488 GB, free: 4.16 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006553/0.5755, allocations: 452.8 kB / 0.6492 GB, free: 3.703 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.5757, allocations: 120.6 kB / 0.6494 GB, free: 3.566 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.225e-05/0.5757, allocations: 8 kB / 0.6494 GB, free: 3.559 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.5759, allocations: 11.98 kB / 0.6494 GB, free: 3.547 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.074e-05/0.576, allocations: 19.97 kB / 0.6494 GB, free: 3.527 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.5761, allocations: 11.98 kB / 0.6494 GB, free: 3.516 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003443/0.5764, allocations: 343 kB / 0.6497 GB, free: 3.184 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5764, allocations: 0 / 0.6497 GB, free: 3.184 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006016/0.577, allocations: 159.8 kB / 0.6499 GB, free: 3.027 MB / 458.7 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.001377/0.5784, allocations: 1.143 MB / 0.651 GB, free: 1.859 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.5795, allocations: 376.5 kB / 0.6514 GB, free: 1.492 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.5795, allocations: 0 / 0.6514 GB, free: 1.492 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000743/0.5802, allocations: 247.7 kB / 0.6516 GB, free: 1.25 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.5806, allocations: 84.52 kB / 0.6517 GB, free: 1.172 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003763/0.5844, allocations: 2.64 MB / 0.6543 GB, free: 14.48 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.5849, allocations: 0.8581 MB / 0.6551 GB, free: 13.59 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002423/0.5851, allocations: 79.22 kB / 0.6552 GB, free: 13.51 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.5853, allocations: 115.4 kB / 0.6553 GB, free: 13.4 MB / 474.7 MB Notification: Performance of SimCode: time 6.11e-07/0.5853, allocations: 0 / 0.6553 GB, free: 13.4 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02886/0.6142, allocations: 12.07 MB / 0.6671 GB, free: 1.602 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002422/0.6145, allocations: 250 kB / 0.6673 GB, free: 1.27 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.447/3.061, allocations: 7.938 kB / 0.6673 GB, free: 1.262 MB / 474.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat