Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001802/0.001802, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002105/0.002105, allocations: 198 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2264/0.2264, allocations: 46.12 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 83.86 kB / 480.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3334, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.2201/0.5536, allocations: 186 MB / 0.7122 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00709/0.5608, allocations: 3.666 MB / 0.7158 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008123/0.5617, allocations: 19.88 kB / 0.7158 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.5627, allocations: 317.9 kB / 0.7161 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004698/0.5675, allocations: 1.729 MB / 0.7178 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002124/0.5696, allocations: 0.7003 MB / 0.7185 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.2965/0.8661, allocations: 1.522 MB / 0.72 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007573/0.8669, allocations: 421 kB / 0.7204 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.868, allocations: 0.5827 MB / 0.721 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005519/0.8686, allocations: 454.3 kB / 0.7214 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.8687, allocations: 50.66 kB / 0.7214 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00312/0.8718, allocations: 1.925 MB / 0.7233 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.872, allocations: 155.5 kB / 0.7235 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003814/0.8724, allocations: 342.4 kB / 0.7238 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002572/0.8749, allocations: 1.832 MB / 0.7256 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.875, allocations: 1.906 kB / 0.7256 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.352e-06/0.875, allocations: 1.203 kB / 0.7256 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.512e-05/0.875, allocations: 1.031 kB / 0.7256 GB, free: 3.426 MB / 0.5606 GB 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.001822/0.8768, allocations: 1.109 MB / 0.7267 GB, free: 18.76 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.8769, allocations: 11 kB / 0.7267 GB, free: 18.76 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.795e-05/0.877, allocations: 83.84 kB / 0.7268 GB, free: 18.72 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009938/0.878, allocations: 136.5 kB / 0.7269 GB, free: 18.69 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006796/0.8787, allocations: 495 kB / 0.7274 GB, free: 18.43 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/0.8787, allocations: 28.75 kB / 0.7274 GB, free: 18.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.746e-05/0.8788, allocations: 44.42 kB / 0.7274 GB, free: 18.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009835/0.8798, allocations: 0.5842 MB / 0.728 GB, free: 18.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.8798, allocations: 4.188 kB / 0.728 GB, free: 18.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.521e-05/0.8799, allocations: 20.53 kB / 0.728 GB, free: 18.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.8799, allocations: 11.41 kB / 0.728 GB, free: 18.32 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007878/0.8807, allocations: 475.4 kB / 0.7285 GB, free: 18.31 MB / 0.5762 GB 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.002649/0.8833, allocations: 2.647 MB / 0.7311 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006425/0.884, allocations: 355.4 kB / 0.7314 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.8843, allocations: 171 kB / 0.7316 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004186/0.8847, allocations: 428.5 kB / 0.732 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.8848, allocations: 39.16 kB / 0.732 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.824e-06/0.8848, allocations: 0.9062 kB / 0.732 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001591/0.8864, allocations: 0.7192 MB / 0.7327 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.426e-05/0.8865, allocations: 132 kB / 0.7329 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004236/0.8869, allocations: 464.4 kB / 0.7333 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.915e-05/0.8869, allocations: 39.62 kB / 0.7333 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.8871, allocations: 279.4 kB / 0.7336 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.14e-05/0.8872, allocations: 127.5 kB / 0.7337 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.8873, allocations: 100.3 kB / 0.7338 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.8875, allocations: 362.3 kB / 0.7342 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.8878, allocations: 147 kB / 0.7343 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003313/0.8881, allocations: 277 kB / 0.7346 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006046/0.8887, allocations: 439.2 kB / 0.735 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.8887, allocations: 0 / 0.735 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009135/0.8897, allocations: 0.541 MB / 0.7355 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.8897, allocations: 8.688 kB / 0.7355 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.8897, allocations: 3.031 kB / 0.7355 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/0.8912, allocations: 239.8 kB / 0.7358 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003274/0.8915, allocations: 109.1 kB / 0.7359 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004577/0.892, allocations: 0.5931 MB / 0.7364 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003477/0.8923, allocations: 54.8 kB / 0.7365 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.107e-05/0.8924, allocations: 44.3 kB / 0.7365 GB, free: 14.05 MB / 0.5762 GB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003117/0.8927, allocations: 182.6 kB / 0.7367 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.8928, allocations: 61.73 kB / 0.7368 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/0.8945, allocations: 1.078 MB / 0.7378 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.8945, allocations: 5 kB / 0.7378 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.8945, allocations: 5.016 kB / 0.7378 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.8945, allocations: 0 / 0.7378 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.8958, allocations: 1.008 MB / 0.7388 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.8958, allocations: 3.469 kB / 0.7388 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.896, allocations: 56.2 kB / 0.7389 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002996/0.899, allocations: 436 kB / 0.7393 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.8991, allocations: 12.03 kB / 0.7393 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004529/0.8995, allocations: 0.6009 MB / 0.7399 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.8996, allocations: 5.812 kB / 0.7399 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007417/0.9003, allocations: 0.5067 MB / 0.7404 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.9005, allocations: 135.6 kB / 0.7405 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.251e-05/0.9006, allocations: 15.25 kB / 0.7405 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003262/0.9009, allocations: 17.75 kB / 0.7405 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.229e-05/0.901, allocations: 27.98 kB / 0.7406 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.901, allocations: 16.41 kB / 0.7406 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005667/0.9016, allocations: 403.2 kB / 0.741 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9016, allocations: 0 / 0.741 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001475/0.9031, allocations: 347.5 kB / 0.7413 GB, free: 12.35 MB / 0.5762 GB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003176/0.9063, allocations: 1.399 MB / 0.7427 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001269/0.9076, allocations: 381.5 kB / 0.743 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/0.9076, allocations: 0 / 0.743 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000486/0.9081, allocations: 169.9 kB / 0.7432 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002725/0.9108, allocations: 361.7 kB / 0.7435 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009133/0.92, allocations: 4.818 MB / 0.7482 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005933/0.9206, allocations: 0.8563 MB / 0.7491 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001672/0.9223, allocations: 0.5573 MB / 0.7496 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005615/0.9229, allocations: 217.6 kB / 0.7498 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of SimCode: time 1.062e-06/0.9229, allocations: 1.031 kB / 0.7498 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07626/0.9992, allocations: 23.15 MB / 0.7724 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.84, allocations: 7.375 kB / 0.7724 GB, free: 3.168 MB / 0.5762 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1)