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.001289/0.001289, allocations: 103.6 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001276/0.001276, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.3495/0.3495, allocations: 46.11 MB / 344.2 MB, free: 11.54 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.002319/0.002319, allocations: 81.2 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1281, allocations: 62.44 MB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4233/0.5514, allocations: 186 MB / 0.6506 GB, free: 9.152 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006484/0.5579, allocations: 3.662 MB / 0.6541 GB, free: 5.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005941/0.5586, allocations: 15.88 kB / 0.6542 GB, free: 5.465 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009885/0.5596, allocations: 309.9 kB / 0.6545 GB, free: 5.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004432/0.5641, allocations: 1.725 MB / 0.6561 GB, free: 3.434 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.5659, allocations: 0.7165 MB / 0.6568 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001986/0.5679, allocations: 1.524 MB / 0.6583 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006079/0.5685, allocations: 415.6 kB / 0.6587 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009181/0.5695, allocations: 0.5799 MB / 0.6593 GB, free: 212 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006018/0.5701, allocations: 454.2 kB / 0.6597 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.5702, allocations: 56 kB / 0.6598 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003471/0.5737, allocations: 1.887 MB / 0.6616 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002117/0.5739, allocations: 151.5 kB / 0.6618 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004477/0.5744, allocations: 346.5 kB / 0.6621 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003023/0.5774, allocations: 1.816 MB / 0.6639 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.5774, allocations: 0 / 0.6639 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.542e-06/0.5774, allocations: 0 / 0.6639 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.5774, allocations: 0 / 0.6639 GB, free: 11.51 MB / 0.4981 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.002034/0.5795, allocations: 1.084 MB / 0.6649 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.5795, allocations: 8.031 kB / 0.6649 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001194/0.5797, allocations: 86.52 kB / 0.665 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.5807, allocations: 135.2 kB / 0.6651 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006661/0.5814, allocations: 456.5 kB / 0.6656 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/0.5814, allocations: 44.94 kB / 0.6656 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.249e-05/0.5815, allocations: 43.88 kB / 0.6657 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.5826, allocations: 0.6023 MB / 0.6663 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.5826, allocations: 0 / 0.6663 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.16e-05/0.5827, allocations: 16 kB / 0.6663 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.5827, allocations: 12 kB / 0.6663 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009563/0.5837, allocations: 471.6 kB / 0.6667 GB, free: 8.441 MB / 0.4981 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.003169/0.5869, allocations: 2.651 MB / 0.6693 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007771/0.5877, allocations: 347.4 kB / 0.6696 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/0.588, allocations: 169.3 kB / 0.6698 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004849/0.5885, allocations: 437.8 kB / 0.6702 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.5886, allocations: 42.84 kB / 0.6703 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 3.747e-06/0.5886, allocations: 7.922 kB / 0.6703 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001821/0.5904, allocations: 0.7108 MB / 0.671 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.557e-05/0.5905, allocations: 136.5 kB / 0.6711 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005635/0.5911, allocations: 466 kB / 0.6715 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.636e-05/0.5911, allocations: 33.7 kB / 0.6716 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.5913, allocations: 275.8 kB / 0.6718 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.5915, allocations: 106.4 kB / 0.6719 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.5917, allocations: 106 kB / 0.672 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.5918, allocations: 362.8 kB / 0.6724 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003371/0.5922, allocations: 148.8 kB / 0.6725 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004566/0.5926, allocations: 280.4 kB / 0.6728 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007894/0.5934, allocations: 437.6 kB / 0.6732 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5934, allocations: 0 / 0.6732 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001118/0.5946, allocations: 0.5407 MB / 0.6737 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.5946, allocations: 10.44 kB / 0.6738 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.5946, allocations: 4 kB / 0.6738 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001585/0.5962, allocations: 244.4 kB / 0.674 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003753/0.5966, allocations: 107.8 kB / 0.6741 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005214/0.5971, allocations: 0.5836 MB / 0.6747 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.5975, allocations: 51.58 kB / 0.6747 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.493e-05/0.5976, allocations: 48 kB / 0.6748 GB, free: 15.65 MB / 0.5137 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.0002757/0.5979, allocations: 185.6 kB / 0.6749 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.598, allocations: 55.34 kB / 0.675 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002118/0.6001, allocations: 1.076 MB / 0.676 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.6001, allocations: 4 kB / 0.676 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.6001, allocations: 0 / 0.676 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.6002, allocations: 3.984 kB / 0.676 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.6017, allocations: 1.018 MB / 0.677 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.6017, allocations: 0 / 0.677 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.6019, allocations: 47.97 kB / 0.6771 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003187/0.6051, allocations: 440.2 kB / 0.6775 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.982e-05/0.6052, allocations: 16 kB / 0.6775 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005394/0.6057, allocations: 0.5952 MB / 0.6781 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.6058, allocations: 4.031 kB / 0.6781 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.6068, allocations: 0.5076 MB / 0.6786 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/0.607, allocations: 132.5 kB / 0.6787 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.6071, allocations: 15.91 kB / 0.6787 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00032/0.6075, allocations: 23.98 kB / 0.6788 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.77e-05/0.6075, allocations: 27.91 kB / 0.6788 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.855e-05/0.6076, allocations: 16 kB / 0.6788 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00054/0.6081, allocations: 406.8 kB / 0.6792 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6081, allocations: 0 / 0.6792 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001062/0.6092, allocations: 327.7 kB / 0.6795 GB, free: 10.59 MB / 0.5137 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.002197/0.6114, allocations: 1.402 MB / 0.6809 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009751/0.6124, allocations: 379.6 kB / 0.6812 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.6124, allocations: 4.875 kB / 0.6812 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003659/0.6128, allocations: 167.9 kB / 0.6814 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/0.6147, allocations: 373 kB / 0.6818 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007532/0.6222, allocations: 4.938 MB / 0.6866 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005022/0.6227, allocations: 0.8634 MB / 0.6874 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00134/0.6241, allocations: 0.5478 MB / 0.688 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004221/0.6245, allocations: 223.3 kB / 0.6882 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of SimCode: time 8.72e-07/0.6245, allocations: 4 kB / 0.6882 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2474/0.872, allocations: 22.95 MB / 0.7106 GB, free: 199.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/13.15, allocations: 3.828 kB / 0.7106 GB, free: 199.1 MB / 0.5294 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 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)