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.0007729/0.0007729, allocations: 96.16 kB / 15.7 MB, free: 464 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.0009528/0.0009528, allocations: 174.9 kB / 16.58 MB, free: 6.848 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.336/1.336, allocations: 205.4 MB / 222.7 MB, free: 5.66 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.3189/0.3189, allocations: 43.55 MB / 314.6 MB, free: 8.777 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.0005206/0.0005207, allocations: 12 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1094, allocations: 58.86 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3581/0.4675, allocations: 173.2 MB / 0.6016 GB, free: 14.53 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008028/0.4756, allocations: 5.718 MB / 0.6072 GB, free: 8.805 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004338/0.4761, allocations: 15.88 kB / 0.6072 GB, free: 8.789 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006975/0.4768, allocations: 258.3 kB / 0.6075 GB, free: 8.535 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00403/0.4808, allocations: 1.672 MB / 0.6091 GB, free: 6.871 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.4823, allocations: 0.5576 MB / 0.6097 GB, free: 6.32 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001946/0.4843, allocations: 1.731 MB / 0.6114 GB, free: 4.586 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006657/0.4849, allocations: 334 kB / 0.6117 GB, free: 4.258 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.486, allocations: 0.5019 MB / 0.6122 GB, free: 3.754 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007886/0.4868, allocations: 454.2 kB / 0.6126 GB, free: 3.309 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001226/0.4869, allocations: 24 kB / 0.6126 GB, free: 3.285 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003385/0.4903, allocations: 1.833 MB / 0.6144 GB, free: 1.449 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.4905, allocations: 135.5 kB / 0.6145 GB, free: 1.316 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002156/0.4907, allocations: 145.4 kB / 0.6147 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001648/0.4924, allocations: 1.224 MB / 0.6159 GB, free: 15.94 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.4924, allocations: 4 kB / 0.6159 GB, free: 15.94 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4924, allocations: 0 / 0.6159 GB, free: 15.94 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.887e-05/0.4924, allocations: 0 / 0.6159 GB, free: 15.94 MB / 494.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.001816/0.4942, allocations: 0.975 MB / 0.6168 GB, free: 14.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.4943, allocations: 15.97 kB / 0.6168 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001443/0.4944, allocations: 91.09 kB / 0.6169 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009696/0.4954, allocations: 135.2 kB / 0.6171 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007408/0.4962, allocations: 460.8 kB / 0.6175 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/0.4962, allocations: 29 kB / 0.6175 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.819e-05/0.4963, allocations: 43.94 kB / 0.6176 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.4974, allocations: 0.5867 MB / 0.6181 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.4974, allocations: 5.125 kB / 0.6182 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.342e-05/0.4975, allocations: 23.94 kB / 0.6182 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.4975, allocations: 15.95 kB / 0.6182 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008871/0.4984, allocations: 475.6 kB / 0.6186 GB, free: 12.97 MB / 494.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.002994/0.5014, allocations: 2.674 MB / 0.6213 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007161/0.5021, allocations: 357.3 kB / 0.6216 GB, free: 9.723 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.5024, allocations: 169.3 kB / 0.6218 GB, free: 9.555 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001212/0.5037, allocations: 1.315 MB / 0.623 GB, free: 8.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.5037, allocations: 42.83 kB / 0.6231 GB, free: 7.969 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.804e-06/0.5037, allocations: 0 / 0.6231 GB, free: 7.969 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.00155/0.5053, allocations: 0.7221 MB / 0.6238 GB, free: 7.219 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/0.5053, allocations: 136.5 kB / 0.6239 GB, free: 7.055 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005519/0.5059, allocations: 477.9 kB / 0.6244 GB, free: 6.578 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.097e-05/0.506, allocations: 33.7 kB / 0.6244 GB, free: 6.539 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.5062, allocations: 267.9 kB / 0.6247 GB, free: 6.273 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.268e-05/0.5063, allocations: 118.2 kB / 0.6248 GB, free: 6.156 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.629e-05/0.5063, allocations: 12 kB / 0.6248 GB, free: 6.145 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.5065, allocations: 358.8 kB / 0.6251 GB, free: 5.785 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/0.5068, allocations: 152.8 kB / 0.6253 GB, free: 5.637 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/0.5072, allocations: 279.7 kB / 0.6255 GB, free: 5.312 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000378/0.5076, allocations: 185 kB / 0.6257 GB, free: 5.133 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.5076, allocations: 0 / 0.6257 GB, free: 5.133 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001084/0.5087, allocations: 0.5523 MB / 0.6263 GB, free: 4.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.5087, allocations: 8 kB / 0.6263 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.5088, allocations: 4 kB / 0.6263 GB, free: 4.559 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/0.5102, allocations: 284.6 kB / 0.6265 GB, free: 4.277 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/0.5106, allocations: 103.9 kB / 0.6266 GB, free: 4.176 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004852/0.5111, allocations: 0.5957 MB / 0.6272 GB, free: 3.555 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004551/0.5115, allocations: 67.58 kB / 0.6273 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.19e-05/0.5116, allocations: 43.98 kB / 0.6273 GB, free: 3.445 MB / 494.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.0002917/0.5119, allocations: 185.7 kB / 0.6275 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.512, allocations: 57.73 kB / 0.6276 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/0.5136, allocations: 0.7359 MB / 0.6283 GB, free: 2.453 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.5136, allocations: 4 kB / 0.6283 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5137, allocations: 0 / 0.6283 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.5137, allocations: 3.984 kB / 0.6283 GB, free: 2.445 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.5152, allocations: 1.018 MB / 0.6293 GB, free: 1.352 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.5152, allocations: 0 / 0.6293 GB, free: 1.352 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.5154, allocations: 61.03 kB / 0.6293 GB, free: 1.293 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002896/0.5183, allocations: 0.5316 MB / 0.6299 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/0.5183, allocations: 11.98 kB / 0.6299 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004231/0.5187, allocations: 0.6003 MB / 0.6305 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5188, allocations: 0 / 0.6305 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1875/0.7063, allocations: 0.5102 MB / 0.631 GB, free: 155 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002839/0.7066, allocations: 160.8 kB / 0.6311 GB, free: 154.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.7067, allocations: 7 kB / 0.6311 GB, free: 154.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004325/0.7072, allocations: 31.33 kB / 0.6311 GB, free: 154.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.259e-05/0.7073, allocations: 36.45 kB / 0.6312 GB, free: 154.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.95e-05/0.7073, allocations: 12.47 kB / 0.6312 GB, free: 154.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005521/0.7079, allocations: 373.9 kB / 0.6315 GB, free: 154.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7079, allocations: 0 / 0.6315 GB, free: 154.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001248/0.7092, allocations: 368.7 kB / 0.6319 GB, free: 154.8 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.002113/0.7113, allocations: 1.44 MB / 0.6333 GB, free: 154.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007696/0.7121, allocations: 381.1 kB / 0.6337 GB, free: 154.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.7121, allocations: 1.594 kB / 0.6337 GB, free: 154.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002994/0.7124, allocations: 171.2 kB / 0.6338 GB, free: 154.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.7137, allocations: 304.4 kB / 0.6341 GB, free: 154.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003935/0.7177, allocations: 3.047 MB / 0.6371 GB, free: 153.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.7179, allocations: 0.8551 MB / 0.6379 GB, free: 152.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008186/0.7188, allocations: 192.2 kB / 0.6381 GB, free: 152.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003/0.7191, allocations: 206.2 kB / 0.6383 GB, free: 152.3 MB / 494.1 MB Notification: Performance of SimCode: time 8.12e-07/0.7191, allocations: 0 / 0.6383 GB, free: 152.3 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03695/0.756, allocations: 21.49 MB / 0.6593 GB, free: 149.4 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001555/0.7562, allocations: 274 kB / 0.6596 GB, free: 149 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.26/3.016, allocations: 0 / 0.6596 GB, free: 149 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