Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_3_2_3_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.001279/0.001279, allocations: 96.2 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002233/0.002233, allocations: 175.5 kB / 16.56 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.4 MB / 222.7 MB, free: 5.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3338/0.3338, allocations: 43.54 MB / 314.5 MB, free: 8.832 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005038/0.0005039, allocations: 16 kB / 384 MB, free: 7.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1267, allocations: 58.85 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.382/0.5087, allocations: 147 MB / 0.576 GB, free: 8.516 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009761/0.5185, allocations: 7.099 MB / 0.583 GB, free: 1.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000569/0.5191, allocations: 15.88 kB / 0.583 GB, free: 1.395 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009204/0.5201, allocations: 258.7 kB / 0.5832 GB, free: 1.141 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003841/0.5239, allocations: 1.332 MB / 0.5845 GB, free: 15.82 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002205/0.5261, allocations: 0.8325 MB / 0.5853 GB, free: 15 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001689/0.5279, allocations: 0.8989 MB / 0.5862 GB, free: 14.1 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005558/0.5284, allocations: 342 kB / 0.5865 GB, free: 13.76 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008768/0.5293, allocations: 0.4985 MB / 0.587 GB, free: 13.26 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003908/0.5297, allocations: 322.8 kB / 0.5873 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.74e-05/0.5298, allocations: 28 kB / 0.5874 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003445/0.5332, allocations: 1.872 MB / 0.5892 GB, free: 11.04 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.5334, allocations: 127.6 kB / 0.5893 GB, free: 10.92 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.5336, allocations: 149.4 kB / 0.5895 GB, free: 10.77 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.5355, allocations: 1.201 MB / 0.5906 GB, free: 9.57 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.5355, allocations: 0 / 0.5906 GB, free: 9.57 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5355, allocations: 0 / 0.5906 GB, free: 9.57 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.5355, allocations: 0 / 0.5906 GB, free: 9.57 MB / 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.001779/0.5373, allocations: 0.971 MB / 0.5916 GB, free: 8.547 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.5373, allocations: 12.03 kB / 0.5916 GB, free: 8.535 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001047/0.5374, allocations: 90.47 kB / 0.5917 GB, free: 8.438 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009671/0.5384, allocations: 135.2 kB / 0.5918 GB, free: 8.305 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006668/0.5391, allocations: 452.8 kB / 0.5922 GB, free: 7.824 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.5391, allocations: 29 kB / 0.5923 GB, free: 7.793 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.953e-05/0.5392, allocations: 44 kB / 0.5923 GB, free: 7.75 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.5403, allocations: 0.575 MB / 0.5929 GB, free: 7.137 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.5403, allocations: 15.92 kB / 0.5929 GB, free: 7.121 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.828e-05/0.5404, allocations: 20 kB / 0.5929 GB, free: 7.102 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.5404, allocations: 15.95 kB / 0.5929 GB, free: 7.086 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008804/0.5413, allocations: 471.6 kB / 0.5934 GB, free: 6.625 MB / 462.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.002951/0.5442, allocations: 2.663 MB / 0.596 GB, free: 3.742 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006998/0.5449, allocations: 351.4 kB / 0.5963 GB, free: 3.391 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004152/0.5454, allocations: 321.5 kB / 0.5966 GB, free: 3.02 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.5454, allocations: 38.84 kB / 0.5966 GB, free: 2.973 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 2.205e-06/0.5454, allocations: 4 kB / 0.5966 GB, free: 2.969 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.001703/0.5471, allocations: 0.7193 MB / 0.5973 GB, free: 2.223 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.267e-05/0.5472, allocations: 132.5 kB / 0.5975 GB, free: 2.062 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005676/0.5478, allocations: 469.9 kB / 0.5979 GB, free: 1.594 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.084e-05/0.5479, allocations: 41.64 kB / 0.598 GB, free: 1.547 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.5481, allocations: 271.8 kB / 0.5982 GB, free: 1.277 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.5482, allocations: 118.3 kB / 0.5983 GB, free: 1.16 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-05/0.5482, allocations: 15.94 kB / 0.5984 GB, free: 1.145 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.5484, allocations: 362.7 kB / 0.5987 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.5487, allocations: 148.8 kB / 0.5988 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000378/0.5491, allocations: 279.7 kB / 0.5991 GB, free: 320 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.5494, allocations: 189 kB / 0.5993 GB, free: 132 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5495, allocations: 0 / 0.5993 GB, free: 132 kB / 462.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001052/0.5505, allocations: 0.5334 MB / 0.5998 GB, free: 15.58 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.5505, allocations: 4 kB / 0.5998 GB, free: 15.58 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.5506, allocations: 4 kB / 0.5998 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001567/0.5521, allocations: 296.9 kB / 0.6001 GB, free: 15.28 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003565/0.5525, allocations: 103.9 kB / 0.6002 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004805/0.553, allocations: 0.5891 MB / 0.6008 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004268/0.5534, allocations: 72.33 kB / 0.6008 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-05/0.5535, allocations: 47.98 kB / 0.6009 GB, free: 14.45 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.0002713/0.5538, allocations: 181.7 kB / 0.6011 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.13e-05/0.5539, allocations: 55.34 kB / 0.6011 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/0.5556, allocations: 0.7301 MB / 0.6018 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.5556, allocations: 4 kB / 0.6018 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.5556, allocations: 3.953 kB / 0.6018 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.5556, allocations: 3.984 kB / 0.6018 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001582/0.5572, allocations: 0.994 MB / 0.6028 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.5572, allocations: 4.156 kB / 0.6028 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/0.5575, allocations: 63.86 kB / 0.6029 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003339/0.5608, allocations: 0.5314 MB / 0.6034 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.104e-05/0.5609, allocations: 8 kB / 0.6034 GB, free: 11.78 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005131/0.5614, allocations: 0.603 MB / 0.604 GB, free: 11.15 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.5614, allocations: 3.125 kB / 0.604 GB, free: 11.15 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009412/0.5623, allocations: 0.5824 MB / 0.6046 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002562/0.5626, allocations: 152.4 kB / 0.6047 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.58e-05/0.5627, allocations: 11.98 kB / 0.6047 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/0.5631, allocations: 31.89 kB / 0.6047 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.121e-05/0.5632, allocations: 27.97 kB / 0.6048 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.045e-05/0.5632, allocations: 15.98 kB / 0.6048 GB, free: 10.25 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005853/0.5638, allocations: 370.8 kB / 0.6051 GB, free: 9.891 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5638, allocations: 0 / 0.6051 GB, free: 9.891 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001419/0.5653, allocations: 375.6 kB / 0.6055 GB, free: 9.523 MB / 478.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.00256/0.5678, allocations: 1.87 MB / 0.6073 GB, free: 7.602 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009379/0.5688, allocations: 376.4 kB / 0.6077 GB, free: 7.234 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.5688, allocations: 4 kB / 0.6077 GB, free: 7.23 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000375/0.5692, allocations: 163.8 kB / 0.6078 GB, free: 7.07 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/0.5707, allocations: 286.9 kB / 0.6081 GB, free: 6.789 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005986/0.5767, allocations: 5.148 MB / 0.6131 GB, free: 1.52 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/0.5773, allocations: 0.8672 MB / 0.614 GB, free: 0.625 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009495/0.5782, allocations: 196.2 kB / 0.6142 GB, free: 452 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003757/0.5786, allocations: 203.4 kB / 0.6144 GB, free: 248 kB / 478.1 MB Notification: Performance of SimCode: time 1.733e-06/0.5786, allocations: 4 kB / 0.6144 GB, free: 244 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2428/0.8214, allocations: 21.46 MB / 0.6353 GB, free: 151.8 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/0.8216, allocations: 262.5 kB / 0.6356 GB, free: 151.4 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.554/3.376, allocations: 2.969 kB / 0.6356 GB, free: 151.4 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat does not exist to compare? outputFormat=mat