Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0008694/0.0008696, allocations: 95.94 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009852/0.0009853, allocations: 189.2 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.2 MB / 241.9 MB, free: 352 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2215/0.2215, allocations: 44.23 MB / 337.2 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004136/0.0004137, allocations: 12 kB / 409.7 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1278, allocations: 61.92 MB / 471.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.438/0.5658, allocations: 166.9 MB / 0.6236 GB, free: 12.2 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005885/0.5717, allocations: 3.485 MB / 0.627 GB, free: 8.707 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006378/0.5724, allocations: 19.88 kB / 0.627 GB, free: 8.688 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00084/0.5732, allocations: 246.3 kB / 0.6272 GB, free: 8.445 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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 4.0.0+maint.om/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 4.0.0+maint.om/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 4.0.0+maint.om/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 4.0.0+maint.om/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 4.0.0+maint.om/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.004132/0.5774, allocations: 1.48 MB / 0.6287 GB, free: 6.965 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001611/0.579, allocations: 0.5628 MB / 0.6292 GB, free: 6.41 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002084/0.5811, allocations: 1.723 MB / 0.6309 GB, free: 4.676 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000561/0.5816, allocations: 338.5 kB / 0.6312 GB, free: 4.344 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008536/0.5825, allocations: 0.5097 MB / 0.6317 GB, free: 3.832 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005386/0.5831, allocations: 446.2 kB / 0.6321 GB, free: 3.395 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.498e-05/0.5831, allocations: 28 kB / 0.6322 GB, free: 3.367 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003148/0.5863, allocations: 1.677 MB / 0.6338 GB, free: 1.688 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.5865, allocations: 139.5 kB / 0.6339 GB, free: 1.551 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002366/0.5867, allocations: 145.4 kB / 0.6341 GB, free: 1.402 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001872/0.5886, allocations: 1.152 MB / 0.6352 GB, free: 256 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.5887, allocations: 7.938 kB / 0.6352 GB, free: 248 kB / 462.1 MB Notification: Performance of FrontEnd: time 5.721e-06/0.5887, allocations: 0 / 0.6352 GB, free: 248 kB / 462.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.5887, allocations: 3.938 kB / 0.6352 GB, free: 244 kB / 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.002203/0.5909, allocations: 0.9428 MB / 0.6361 GB, free: 15.25 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.591, allocations: 8.031 kB / 0.6361 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001524/0.5911, allocations: 86.53 kB / 0.6362 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/0.5925, allocations: 139.2 kB / 0.6363 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009466/0.5935, allocations: 448.8 kB / 0.6368 GB, free: 14.53 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/0.5935, allocations: 33 kB / 0.6368 GB, free: 14.5 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.707e-05/0.5936, allocations: 40 kB / 0.6368 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.5951, allocations: 0.5945 MB / 0.6374 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.5952, allocations: 0 / 0.6374 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.383e-05/0.5953, allocations: 24.88 kB / 0.6374 GB, free: 13.8 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.5953, allocations: 15.98 kB / 0.6375 GB, free: 13.78 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.5965, allocations: 475.6 kB / 0.6379 GB, free: 13.32 MB / 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.004408/0.6009, allocations: 2.655 MB / 0.6405 GB, free: 10.44 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.6021, allocations: 343.5 kB / 0.6408 GB, free: 10.1 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000423/0.6025, allocations: 177.4 kB / 0.641 GB, free: 9.922 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006018/0.6031, allocations: 429.9 kB / 0.6414 GB, free: 9.41 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.221e-05/0.6032, allocations: 38.84 kB / 0.6415 GB, free: 9.363 MB / 478.1 MB Notification: Performance of pre-optimization done (n=33): time 5.27e-06/0.6032, allocations: 4 kB / 0.6415 GB, free: 9.359 MB / 478.1 MB Notification: Performance of matching and sorting (n=33): time 0.002302/0.6055, allocations: 0.7342 MB / 0.6422 GB, free: 8.598 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.6056, allocations: 136.5 kB / 0.6423 GB, free: 8.434 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007597/0.6064, allocations: 473.9 kB / 0.6428 GB, free: 7.961 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.178e-05/0.6065, allocations: 29.7 kB / 0.6428 GB, free: 7.926 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002613/0.6068, allocations: 279.8 kB / 0.6431 GB, free: 7.648 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.6069, allocations: 114.4 kB / 0.6432 GB, free: 7.535 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.607, allocations: 15.94 kB / 0.6432 GB, free: 7.52 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.6072, allocations: 354.8 kB / 0.6435 GB, free: 7.164 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004326/0.6076, allocations: 152.8 kB / 0.6437 GB, free: 7.016 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005404/0.6082, allocations: 283.7 kB / 0.6439 GB, free: 6.684 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004874/0.6087, allocations: 189 kB / 0.6441 GB, free: 6.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.6087, allocations: 4 kB / 0.6441 GB, free: 6.496 MB / 478.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001456/0.6102, allocations: 0.5442 MB / 0.6446 GB, free: 5.941 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.6102, allocations: 4 kB / 0.6447 GB, free: 5.938 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.6102, allocations: 4 kB / 0.6447 GB, free: 5.934 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002048/0.6123, allocations: 289 kB / 0.6449 GB, free: 5.648 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004677/0.6128, allocations: 107.4 kB / 0.645 GB, free: 5.547 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004731/0.6132, allocations: 0.5914 MB / 0.6456 GB, free: 4.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004214/0.6137, allocations: 71.48 kB / 0.6457 GB, free: 4.859 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.229e-05/0.6138, allocations: 47.98 kB / 0.6457 GB, free: 4.812 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.0002919/0.6141, allocations: 182.2 kB / 0.6459 GB, free: 4.625 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.939e-05/0.6142, allocations: 51.44 kB / 0.6459 GB, free: 4.574 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/0.6165, allocations: 1.103 MB / 0.647 GB, free: 3.449 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.6165, allocations: 4 kB / 0.647 GB, free: 3.445 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6165, allocations: 0 / 0.647 GB, free: 3.445 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.6165, allocations: 3.984 kB / 0.647 GB, free: 3.441 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.6185, allocations: 1.011 MB / 0.648 GB, free: 2.355 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.6186, allocations: 0 / 0.648 GB, free: 2.355 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003178/0.6189, allocations: 64.06 kB / 0.6481 GB, free: 2.293 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004251/0.6231, allocations: 0.5276 MB / 0.6486 GB, free: 1.762 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.793e-05/0.6232, allocations: 8 kB / 0.6486 GB, free: 1.754 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005844/0.6238, allocations: 0.6108 MB / 0.6492 GB, free: 1.117 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.6238, allocations: 4.062 kB / 0.6492 GB, free: 1.113 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.625, allocations: 0.5038 MB / 0.6497 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002821/0.6253, allocations: 152.4 kB / 0.6498 GB, free: 416 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.6254, allocations: 8.062 kB / 0.6498 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005122/0.626, allocations: 47.84 kB / 0.6499 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.055e-05/0.626, allocations: 27.86 kB / 0.6499 GB, free: 332 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.948e-05/0.6261, allocations: 19.98 kB / 0.6499 GB, free: 312 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006616/0.6268, allocations: 370.8 kB / 0.6503 GB, free: 15.95 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6268, allocations: 0 / 0.6503 GB, free: 15.95 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001419/0.6282, allocations: 335.6 kB / 0.6506 GB, free: 15.62 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.002888/0.6311, allocations: 1.382 MB / 0.652 GB, free: 14.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001277/0.6324, allocations: 383.6 kB / 0.6523 GB, free: 13.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/0.6324, allocations: 0 / 0.6523 GB, free: 13.82 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004921/0.6329, allocations: 176.8 kB / 0.6525 GB, free: 13.65 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/0.6352, allocations: 300.1 kB / 0.6528 GB, free: 13.36 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006756/0.642, allocations: 3.028 MB / 0.6557 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004673/0.6425, allocations: 0.8632 MB / 0.6566 GB, free: 9.336 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001365/0.6439, allocations: 0.5398 MB / 0.6571 GB, free: 8.797 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004345/0.6443, allocations: 219.3 kB / 0.6573 GB, free: 8.582 MB / 494.1 MB Notification: Performance of SimCode: time 1.213e-06/0.6443, allocations: 0 / 0.6573 GB, free: 8.582 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03846/0.6828, allocations: 20.49 MB / 0.6773 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/0.683, allocations: 283.6 kB / 0.6776 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.428/3.111, allocations: 0 / 0.6776 GB, free: 4.062 MB / 0.4981 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat does not exist to compare? outputFormat=mat