Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001036/0.001036, allocations: 96.52 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001214/0.001214, allocations: 205 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, 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.1994/0.1994, allocations: 45.92 MB / 344 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002932/0.0002932, allocations: 8 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1238, allocations: 63.46 MB / 481.5 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3986/0.5224, allocations: 147.1 MB / 0.6138 GB, free: 2.242 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007016/0.5295, allocations: 4.21 MB / 0.618 GB, free: 14.03 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005486/0.5301, allocations: 27.81 kB / 0.618 GB, free: 14 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008314/0.5309, allocations: 246.7 kB / 0.6182 GB, free: 13.76 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003378/0.5343, allocations: 1.146 MB / 0.6193 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00238/0.5367, allocations: 0.8343 MB / 0.6202 GB, free: 11.79 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001788/0.5385, allocations: 0.8989 MB / 0.621 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005734/0.5391, allocations: 350 kB / 0.6214 GB, free: 10.55 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009391/0.5401, allocations: 498.5 kB / 0.6218 GB, free: 10.06 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000422/0.5405, allocations: 330.7 kB / 0.6222 GB, free: 9.734 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.12e-05/0.5406, allocations: 28 kB / 0.6222 GB, free: 9.707 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003117/0.5437, allocations: 1.755 MB / 0.6239 GB, free: 7.949 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.5439, allocations: 119.6 kB / 0.624 GB, free: 7.832 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002137/0.5441, allocations: 153.4 kB / 0.6242 GB, free: 7.676 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00193/0.5461, allocations: 1.146 MB / 0.6253 GB, free: 6.531 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5461, allocations: 3.938 kB / 0.6253 GB, free: 6.527 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.564e-06/0.5461, allocations: 0 / 0.6253 GB, free: 6.527 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.5461, allocations: 4 kB / 0.6253 GB, free: 6.523 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001818/0.5479, allocations: 0.935 MB / 0.6262 GB, free: 5.539 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.548, allocations: 8.031 kB / 0.6262 GB, free: 5.531 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001137/0.5481, allocations: 87.02 kB / 0.6263 GB, free: 5.438 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009481/0.5491, allocations: 143.1 kB / 0.6264 GB, free: 5.297 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006301/0.5497, allocations: 452.8 kB / 0.6269 GB, free: 4.812 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.5497, allocations: 29 kB / 0.6269 GB, free: 4.785 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-05/0.5498, allocations: 40 kB / 0.6269 GB, free: 4.746 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.5508, allocations: 0.5962 MB / 0.6275 GB, free: 4.113 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.5508, allocations: 3.938 kB / 0.6275 GB, free: 4.109 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-05/0.5509, allocations: 16 kB / 0.6275 GB, free: 4.094 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.5509, allocations: 12 kB / 0.6275 GB, free: 4.082 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008671/0.5518, allocations: 483.6 kB / 0.628 GB, free: 3.609 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002981/0.5548, allocations: 2.651 MB / 0.6306 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007484/0.5555, allocations: 349.8 kB / 0.6309 GB, free: 400 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004865/0.556, allocations: 437.9 kB / 0.6313 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.5561, allocations: 38.84 kB / 0.6314 GB, free: 15.82 MB / 478.1 MB Notification: Performance of pre-optimization done (n=33): time 2.234e-06/0.5561, allocations: 0 / 0.6314 GB, free: 15.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=33): time 0.001688/0.5578, allocations: 0.7315 MB / 0.6321 GB, free: 15.07 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.93e-05/0.5579, allocations: 136.5 kB / 0.6322 GB, free: 14.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005392/0.5584, allocations: 466 kB / 0.6327 GB, free: 14.43 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.876e-05/0.5585, allocations: 29.7 kB / 0.6327 GB, free: 14.4 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.5587, allocations: 283.8 kB / 0.633 GB, free: 14.12 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.5588, allocations: 114.3 kB / 0.6331 GB, free: 14 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.5589, allocations: 8 kB / 0.6331 GB, free: 14 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.559, allocations: 354.8 kB / 0.6334 GB, free: 13.64 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003088/0.5594, allocations: 160.8 kB / 0.6336 GB, free: 13.48 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000377/0.5597, allocations: 279.7 kB / 0.6338 GB, free: 13.15 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003476/0.5601, allocations: 185 kB / 0.634 GB, free: 12.97 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.5601, allocations: 0 / 0.634 GB, free: 12.97 MB / 478.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009961/0.5611, allocations: 0.5446 MB / 0.6345 GB, free: 12.42 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.5611, allocations: 12.06 kB / 0.6346 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.5612, allocations: 7.938 kB / 0.6346 GB, free: 12.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001557/0.5627, allocations: 288.5 kB / 0.6348 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003724/0.5631, allocations: 111.9 kB / 0.6349 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004708/0.5636, allocations: 0.5836 MB / 0.6355 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004564/0.5641, allocations: 71.47 kB / 0.6356 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.767e-05/0.5641, allocations: 43.98 kB / 0.6356 GB, free: 11.28 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002968/0.5644, allocations: 173.8 kB / 0.6358 GB, free: 11.1 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.531e-05/0.5645, allocations: 59.33 kB / 0.6358 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001974/0.5665, allocations: 1.109 MB / 0.6369 GB, free: 9.906 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.5665, allocations: 4 kB / 0.6369 GB, free: 9.902 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.5666, allocations: 0 / 0.6369 GB, free: 9.902 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-06/0.5666, allocations: 7.984 kB / 0.6369 GB, free: 9.895 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.568, allocations: 1.004 MB / 0.6379 GB, free: 8.816 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.568, allocations: 0 / 0.6379 GB, free: 8.816 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.5682, allocations: 59.91 kB / 0.638 GB, free: 8.758 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003296/0.5715, allocations: 0.5277 MB / 0.6385 GB, free: 8.227 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-05/0.5716, allocations: 11.98 kB / 0.6385 GB, free: 8.215 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005017/0.5721, allocations: 0.6069 MB / 0.6391 GB, free: 7.582 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5721, allocations: 0 / 0.6391 GB, free: 7.582 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009393/0.5731, allocations: 0.5713 MB / 0.6397 GB, free: 6.945 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002221/0.5733, allocations: 144.3 kB / 0.6398 GB, free: 6.785 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.942e-05/0.5734, allocations: 11.98 kB / 0.6398 GB, free: 6.773 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003762/0.5738, allocations: 35.97 kB / 0.6398 GB, free: 6.738 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/0.5739, allocations: 31.86 kB / 0.6399 GB, free: 6.707 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.352e-05/0.5739, allocations: 19.94 kB / 0.6399 GB, free: 6.688 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004738/0.5744, allocations: 370.8 kB / 0.6402 GB, free: 6.328 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5744, allocations: 4 kB / 0.6402 GB, free: 6.324 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001016/0.5754, allocations: 331.6 kB / 0.6406 GB, free: 6 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002367/0.5778, allocations: 1.79 MB / 0.6423 GB, free: 4.152 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009409/0.5787, allocations: 379.8 kB / 0.6427 GB, free: 3.781 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.5788, allocations: 4.875 kB / 0.6427 GB, free: 3.777 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003667/0.5791, allocations: 180.1 kB / 0.6428 GB, free: 3.602 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.5806, allocations: 293.5 kB / 0.6431 GB, free: 3.32 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005637/0.5863, allocations: 5.137 MB / 0.6481 GB, free: 14.05 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00047/0.5868, allocations: 0.8672 MB / 0.649 GB, free: 13.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00136/0.5881, allocations: 0.5586 MB / 0.6495 GB, free: 12.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004178/0.5886, allocations: 215.3 kB / 0.6497 GB, free: 12.39 MB / 494.1 MB Notification: Performance of SimCode: time 8.22e-07/0.5886, allocations: 0 / 0.6497 GB, free: 12.39 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03881/0.6274, allocations: 20.62 MB / 0.6699 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002477/0.6277, allocations: 269.7 kB / 0.6701 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.441/3.068, allocations: 0 / 0.6701 GB, free: 7.691 MB / 0.4981 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat does not exist to compare? outputFormat=mat