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.001106/0.001106, allocations: 98.91 kB / 17.01 MB, free: 6.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001393/0.001393, allocations: 194.3 kB / 17.91 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2323/0.2323, allocations: 45.91 MB / 344.1 MB, free: 12.02 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002792/0.0002792, allocations: 8 kB / 418.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1144, allocations: 63.46 MB / 481.7 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4343/0.5487, allocations: 166.9 MB / 0.6334 GB, free: 15.36 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007192/0.556, allocations: 3.501 MB / 0.6368 GB, free: 11.85 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.557, allocations: 23.81 kB / 0.6368 GB, free: 11.82 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.5581, allocations: 254.3 kB / 0.637 GB, free: 11.57 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.005321/0.5635, allocations: 1.498 MB / 0.6385 GB, free: 10.08 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001975/0.5655, allocations: 0.5546 MB / 0.6391 GB, free: 9.531 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00273/0.5682, allocations: 1.723 MB / 0.6407 GB, free: 7.805 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009518/0.5692, allocations: 341.9 kB / 0.6411 GB, free: 7.473 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/0.5706, allocations: 0.5097 MB / 0.6416 GB, free: 6.961 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008912/0.5715, allocations: 442.2 kB / 0.642 GB, free: 6.527 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001511/0.5717, allocations: 28 kB / 0.642 GB, free: 6.5 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003968/0.5757, allocations: 1.712 MB / 0.6437 GB, free: 4.785 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002817/0.576, allocations: 131.5 kB / 0.6438 GB, free: 4.656 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003188/0.5763, allocations: 145.5 kB / 0.6439 GB, free: 4.508 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002249/0.5786, allocations: 1.172 MB / 0.6451 GB, free: 3.336 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.5786, allocations: 4 kB / 0.6451 GB, free: 3.332 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5786, allocations: 3.938 kB / 0.6451 GB, free: 3.328 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.724e-05/0.5786, allocations: 0 / 0.6451 GB, free: 3.328 MB / 478.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.002133/0.5808, allocations: 0.9428 MB / 0.646 GB, free: 2.336 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.5808, allocations: 12.02 kB / 0.646 GB, free: 2.324 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002018/0.581, allocations: 86.47 kB / 0.6461 GB, free: 2.234 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.582, allocations: 139.1 kB / 0.6462 GB, free: 2.098 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000702/0.5828, allocations: 456.8 kB / 0.6467 GB, free: 1.609 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.5828, allocations: 33 kB / 0.6467 GB, free: 1.578 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.05e-05/0.5829, allocations: 40 kB / 0.6467 GB, free: 1.539 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.584, allocations: 0.5906 MB / 0.6473 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.584, allocations: 4 kB / 0.6473 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.595e-05/0.5841, allocations: 16 kB / 0.6473 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.5841, allocations: 12 kB / 0.6474 GB, free: 0.875 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009163/0.585, allocations: 483.6 kB / 0.6478 GB, free: 416 kB / 478.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.002979/0.588, allocations: 2.651 MB / 0.6504 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007088/0.5887, allocations: 349.6 kB / 0.6507 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.589, allocations: 185.3 kB / 0.6509 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004049/0.5894, allocations: 433.8 kB / 0.6513 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.5895, allocations: 34.84 kB / 0.6514 GB, free: 12.44 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 2.344e-06/0.5895, allocations: 0 / 0.6514 GB, free: 12.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001592/0.5911, allocations: 0.7381 MB / 0.6521 GB, free: 11.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.362e-05/0.5912, allocations: 132.5 kB / 0.6522 GB, free: 11.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005128/0.5917, allocations: 470 kB / 0.6527 GB, free: 11.04 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.209e-05/0.5917, allocations: 37.7 kB / 0.6527 GB, free: 11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.592, allocations: 275.8 kB / 0.653 GB, free: 10.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.5921, allocations: 110.4 kB / 0.6531 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.493e-05/0.5921, allocations: 8 kB / 0.6531 GB, free: 10.61 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.5922, allocations: 358.8 kB / 0.6534 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002994/0.5926, allocations: 156.7 kB / 0.6536 GB, free: 10.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003718/0.5929, allocations: 287.7 kB / 0.6538 GB, free: 9.758 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/0.5933, allocations: 181 kB / 0.654 GB, free: 9.582 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5933, allocations: 0 / 0.654 GB, free: 9.582 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009376/0.5943, allocations: 0.5522 MB / 0.6545 GB, free: 9.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.5943, allocations: 8 kB / 0.6546 GB, free: 9.012 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.5943, allocations: 7.953 kB / 0.6546 GB, free: 9.004 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/0.5957, allocations: 288.7 kB / 0.6548 GB, free: 8.719 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003617/0.5961, allocations: 99.89 kB / 0.6549 GB, free: 8.621 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000433/0.5965, allocations: 0.5875 MB / 0.6555 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003405/0.5969, allocations: 71.47 kB / 0.6556 GB, free: 7.938 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.17e-05/0.597, allocations: 47.98 kB / 0.6556 GB, free: 7.891 MB / 494.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.0002277/0.5972, allocations: 181.7 kB / 0.6558 GB, free: 7.703 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.316e-05/0.5973, allocations: 55.38 kB / 0.6558 GB, free: 7.648 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/0.5993, allocations: 1.099 MB / 0.6569 GB, free: 6.527 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.5993, allocations: 4 kB / 0.6569 GB, free: 6.523 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5994, allocations: 4 kB / 0.6569 GB, free: 6.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.5994, allocations: 0 / 0.6569 GB, free: 6.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/0.6008, allocations: 1.012 MB / 0.6579 GB, free: 5.434 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.6008, allocations: 0 / 0.6579 GB, free: 5.434 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.601, allocations: 55.91 kB / 0.658 GB, free: 5.379 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002907/0.604, allocations: 0.5316 MB / 0.6585 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/0.604, allocations: 16 kB / 0.6585 GB, free: 4.828 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000526/0.6045, allocations: 0.603 MB / 0.6591 GB, free: 4.199 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.6046, allocations: 11.91 kB / 0.6591 GB, free: 4.188 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008218/0.6054, allocations: 0.5044 MB / 0.6596 GB, free: 3.648 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001784/0.6056, allocations: 152.3 kB / 0.6597 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.602e-05/0.6057, allocations: 15.95 kB / 0.6598 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00033/0.606, allocations: 35.91 kB / 0.6598 GB, free: 3.43 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/0.6061, allocations: 27.91 kB / 0.6598 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/0.6061, allocations: 23.92 kB / 0.6598 GB, free: 3.379 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004881/0.6066, allocations: 370.8 kB / 0.6602 GB, free: 3.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6066, allocations: 0 / 0.6602 GB, free: 3.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001012/0.6076, allocations: 339.7 kB / 0.6605 GB, free: 2.688 MB / 494.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.001969/0.6096, allocations: 1.392 MB / 0.6619 GB, free: 1.258 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008693/0.6105, allocations: 388.5 kB / 0.6622 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.6105, allocations: 4 kB / 0.6622 GB, free: 0.875 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003547/0.6109, allocations: 176 kB / 0.6624 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/0.6123, allocations: 293.3 kB / 0.6627 GB, free: 432 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004802/0.6172, allocations: 3.029 MB / 0.6657 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004673/0.6177, allocations: 0.8671 MB / 0.6665 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001274/0.6189, allocations: 0.5472 MB / 0.667 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003907/0.6193, allocations: 215.3 kB / 0.6672 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of SimCode: time 9.72e-07/0.6193, allocations: 0 / 0.6672 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04025/0.6596, allocations: 20.65 MB / 0.6874 GB, free: 7.27 MB / 0.5138 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002878/0.6599, allocations: 281.6 kB / 0.6877 GB, free: 6.906 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.507/3.167, allocations: 0 / 0.6877 GB, free: 6.906 MB / 0.5138 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