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.001335/0.001335, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001341/0.001341, allocations: 208.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.231/0.231, allocations: 46.11 MB / 344.2 MB, free: 11.6 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.002221/0.002221, allocations: 88.28 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1232, allocations: 62.45 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.4622/0.5855, allocations: 186 MB / 0.6506 GB, free: 8.949 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006607/0.5921, allocations: 3.666 MB / 0.6541 GB, free: 5.277 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007177/0.5929, allocations: 15.88 kB / 0.6542 GB, free: 5.262 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009743/0.5939, allocations: 313.8 kB / 0.6545 GB, free: 4.953 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004422/0.5984, allocations: 1.724 MB / 0.6561 GB, free: 3.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.6004, allocations: 0.7163 MB / 0.6568 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002016/0.6024, allocations: 1.516 MB / 0.6583 GB, free: 1 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006604/0.6031, allocations: 435.5 kB / 0.6587 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009641/0.604, allocations: 0.5761 MB / 0.6593 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006179/0.6047, allocations: 446.1 kB / 0.6597 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.6048, allocations: 52 kB / 0.6598 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003822/0.6086, allocations: 1.884 MB / 0.6616 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002514/0.6089, allocations: 155.4 kB / 0.6618 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005062/0.6094, allocations: 350.5 kB / 0.6621 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002903/0.6123, allocations: 1.812 MB / 0.6639 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.6124, allocations: 0 / 0.6639 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.492e-06/0.6124, allocations: 0 / 0.6639 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.563e-05/0.6124, allocations: 0 / 0.6639 GB, free: 11.31 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.002101/0.6145, allocations: 1.086 MB / 0.6649 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.6146, allocations: 8.031 kB / 0.6649 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001232/0.6147, allocations: 90.52 kB / 0.665 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009891/0.6157, allocations: 135.2 kB / 0.6651 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007096/0.6164, allocations: 472.4 kB / 0.6656 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.6164, allocations: 29 kB / 0.6656 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.249e-05/0.6165, allocations: 43.94 kB / 0.6657 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.6177, allocations: 0.5906 MB / 0.6662 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.6177, allocations: 3.938 kB / 0.6662 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-05/0.6178, allocations: 20 kB / 0.6663 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.6178, allocations: 8 kB / 0.6663 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009864/0.6188, allocations: 471.6 kB / 0.6667 GB, free: 8.242 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.003455/0.6222, allocations: 2.663 MB / 0.6693 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007957/0.6231, allocations: 343.4 kB / 0.6697 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/0.6234, allocations: 169.3 kB / 0.6698 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005261/0.6239, allocations: 437.8 kB / 0.6702 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.624, allocations: 38.84 kB / 0.6703 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.324e-06/0.624, allocations: 0 / 0.6703 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001874/0.6259, allocations: 0.7224 MB / 0.671 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.626, allocations: 132.5 kB / 0.6711 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005867/0.6266, allocations: 466 kB / 0.6715 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.54e-05/0.6266, allocations: 37.7 kB / 0.6716 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.6269, allocations: 267.8 kB / 0.6718 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.627, allocations: 122.4 kB / 0.672 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.6272, allocations: 98.03 kB / 0.672 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000194/0.6274, allocations: 358.8 kB / 0.6724 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000334/0.6277, allocations: 152.8 kB / 0.6725 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004526/0.6282, allocations: 271.7 kB / 0.6728 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008624/0.6291, allocations: 441.6 kB / 0.6732 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.6291, allocations: 0 / 0.6732 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001102/0.6302, allocations: 0.5364 MB / 0.6737 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.6302, allocations: 15.92 kB / 0.6738 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.6302, allocations: 3.938 kB / 0.6738 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001596/0.6318, allocations: 237 kB / 0.674 GB, free: 268 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/0.6322, allocations: 109.5 kB / 0.6741 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005645/0.6328, allocations: 0.5836 MB / 0.6747 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003389/0.6332, allocations: 47.55 kB / 0.6747 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.633e-05/0.6333, allocations: 47.98 kB / 0.6747 GB, free: 15.45 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.0002874/0.6336, allocations: 193.6 kB / 0.6749 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.6337, allocations: 55.34 kB / 0.675 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002183/0.6359, allocations: 1.075 MB / 0.676 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.6359, allocations: 7.984 kB / 0.676 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.6359, allocations: 0 / 0.676 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.6359, allocations: 0 / 0.676 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/0.6375, allocations: 1.014 MB / 0.677 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.6375, allocations: 0 / 0.677 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.6378, allocations: 51.91 kB / 0.6771 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003235/0.641, allocations: 436.3 kB / 0.6775 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/0.6411, allocations: 15.92 kB / 0.6775 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000511/0.6416, allocations: 0.6082 MB / 0.6781 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6416, allocations: 0 / 0.6781 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009028/0.6425, allocations: 0.5116 MB / 0.6786 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.6427, allocations: 128.5 kB / 0.6787 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.6428, allocations: 15.84 kB / 0.6787 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003168/0.6431, allocations: 15.98 kB / 0.6788 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.333e-05/0.6432, allocations: 27.91 kB / 0.6788 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-05/0.6433, allocations: 19.98 kB / 0.6788 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005447/0.6438, allocations: 398.8 kB / 0.6792 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6438, allocations: 0 / 0.6792 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001032/0.6448, allocations: 339.7 kB / 0.6795 GB, free: 10.38 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.002159/0.647, allocations: 1.387 MB / 0.6809 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009509/0.648, allocations: 387.9 kB / 0.6812 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.648, allocations: 0 / 0.6812 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003919/0.6484, allocations: 167.8 kB / 0.6814 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/0.6502, allocations: 378 kB / 0.6818 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007392/0.6576, allocations: 4.941 MB / 0.6866 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005156/0.6582, allocations: 0.8556 MB / 0.6874 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001304/0.6595, allocations: 0.563 MB / 0.688 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004236/0.6599, allocations: 227.3 kB / 0.6882 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of SimCode: time 5.91e-07/0.6599, allocations: 0 / 0.6882 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2537/0.9136, allocations: 22.94 MB / 0.7106 GB, free: 198.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/13.15, allocations: 12.23 kB / 0.7106 GB, free: 198.3 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 & /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)