Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 176.5 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 102.8 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4686/0.4686, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003464, allocations: 8 kB / 460 MB, free: 1.426 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4415/0.4418, allocations: 61.89 MB / 0.5096 GB, free: 37.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.241/1.683, allocations: 498.2 MB / 0.9962 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003605/1.683, allocations: 103.1 kB / 0.9963 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8564/2.539, allocations: 220.3 MB / 1.211 GB, free: 94.24 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.755e-06/2.539, allocations: 0 / 1.211 GB, free: 94.24 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.375e-05/2.54, allocations: 12 kB / 1.211 GB, free: 94.23 MB / 0.5261 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.003086/2.543, allocations: 0.9753 MB / 1.212 GB, free: 93.21 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/2.543, allocations: 8.031 kB / 1.212 GB, free: 93.2 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002551/2.543, allocations: 86.45 kB / 1.212 GB, free: 93.11 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/2.544, allocations: 143.2 kB / 1.213 GB, free: 92.96 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009985/2.545, allocations: 484.7 kB / 1.213 GB, free: 92.45 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/2.545, allocations: 29 kB / 1.213 GB, free: 92.42 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.82e-05/2.545, allocations: 43.95 kB / 1.213 GB, free: 92.38 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/2.546, allocations: 0.5971 MB / 1.214 GB, free: 91.74 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/2.546, allocations: 4 kB / 1.214 GB, free: 91.73 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-05/2.547, allocations: 20 kB / 1.214 GB, free: 91.71 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/2.547, allocations: 12 kB / 1.214 GB, free: 91.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009088/2.547, allocations: 495.5 kB / 1.214 GB, free: 91.21 MB / 0.5261 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.002968/2.55, allocations: 2.628 MB / 1.217 GB, free: 88.36 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006441/2.551, allocations: 327.7 kB / 1.217 GB, free: 88.04 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003953/2.552, allocations: 437.8 kB / 1.218 GB, free: 87.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/2.552, allocations: 38.84 kB / 1.218 GB, free: 87.47 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 2.605e-06/2.552, allocations: 0 / 1.218 GB, free: 87.47 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.001554/2.553, allocations: 0.6928 MB / 1.218 GB, free: 86.75 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/2.553, allocations: 140.5 kB / 1.218 GB, free: 86.58 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004404/2.554, allocations: 425 kB / 1.219 GB, free: 86.16 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/2.554, allocations: 33.7 kB / 1.219 GB, free: 86.12 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/2.554, allocations: 263.9 kB / 1.219 GB, free: 85.86 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.026e-05/2.554, allocations: 126.2 kB / 1.219 GB, free: 85.73 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/2.554, allocations: 8 kB / 1.219 GB, free: 85.72 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.501e-05/2.554, allocations: 366.7 kB / 1.22 GB, free: 85.36 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002959/2.554, allocations: 177 kB / 1.22 GB, free: 85.18 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003476/2.555, allocations: 307.7 kB / 1.22 GB, free: 84.83 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/2.555, allocations: 212.7 kB / 1.22 GB, free: 84.62 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/2.555, allocations: 0 / 1.22 GB, free: 84.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001042/2.556, allocations: 0.5986 MB / 1.221 GB, free: 84.01 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/2.556, allocations: 4 kB / 1.221 GB, free: 84.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/2.556, allocations: 4 kB / 1.221 GB, free: 84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/2.558, allocations: 237 kB / 1.221 GB, free: 83.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004341/2.558, allocations: 131.8 kB / 1.221 GB, free: 83.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005181/2.563, allocations: 17.47 MB / 1.238 GB, free: 64.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006914/2.564, allocations: 75.53 kB / 1.238 GB, free: 64.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/2.564, allocations: 47.98 kB / 1.238 GB, free: 64.87 MB / 0.5261 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 (52): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 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.0003962/2.564, allocations: 177.7 kB / 1.238 GB, free: 64.68 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/2.565, allocations: 51.44 kB / 1.239 GB, free: 64.63 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001858/2.566, allocations: 1.052 MB / 1.24 GB, free: 63.56 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/2.566, allocations: 4 kB / 1.24 GB, free: 63.56 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/2.566, allocations: 7.953 kB / 1.24 GB, free: 63.55 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/2.566, allocations: 0 / 1.24 GB, free: 63.55 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/2.568, allocations: 0.9284 MB / 1.24 GB, free: 62.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/2.568, allocations: 7.953 kB / 1.24 GB, free: 62.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/2.568, allocations: 55.91 kB / 1.241 GB, free: 62.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001229/2.569, allocations: 224.8 kB / 1.241 GB, free: 62.26 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/2.569, allocations: 11.98 kB / 1.241 GB, free: 62.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003608/2.57, allocations: 0.5874 MB / 1.241 GB, free: 61.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/2.57, allocations: 8.047 kB / 1.241 GB, free: 61.63 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007143/2.571, allocations: 0.52 MB / 1.242 GB, free: 61.04 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002768/2.571, allocations: 152.4 kB / 1.242 GB, free: 60.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/2.571, allocations: 19.92 kB / 1.242 GB, free: 60.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004314/2.571, allocations: 35.91 kB / 1.242 GB, free: 60.82 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.764e-05/2.572, allocations: 23.97 kB / 1.242 GB, free: 60.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/2.572, allocations: 12 kB / 1.242 GB, free: 60.79 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004821/2.572, allocations: 374.8 kB / 1.242 GB, free: 60.42 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/2.572, allocations: 0 / 1.242 GB, free: 60.42 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002421/2.574, allocations: 435.4 kB / 1.243 GB, free: 60 MB / 0.5261 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 (25): * Single equations (assignments): 24 * 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 Backend phase and start with SimCode phase: time 0.004395/2.579, allocations: 2.458 MB / 1.245 GB, free: 57.49 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001049/2.58, allocations: 391.8 kB / 1.246 GB, free: 57.11 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/2.58, allocations: 0.875 kB / 1.246 GB, free: 57.11 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003047/2.58, allocations: 154.3 kB / 1.246 GB, free: 56.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/2.582, allocations: 271.4 kB / 1.246 GB, free: 56.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00467/2.586, allocations: 4.197 MB / 1.25 GB, free: 52.38 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/2.587, allocations: 0.8632 MB / 1.251 GB, free: 51.48 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001281/2.588, allocations: 0.5373 MB / 1.252 GB, free: 50.95 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004111/2.589, allocations: 215.3 kB / 1.252 GB, free: 50.74 MB / 0.5261 GB Notification: Performance of SimCode: time 1.182e-06/2.589, allocations: 3.938 kB / 1.252 GB, free: 50.73 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06553/2.654, allocations: 32.95 MB / 1.284 GB, free: 18.05 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/2.654, allocations: 268 kB / 1.284 GB, free: 17.69 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.384/6.039, allocations: 0 / 1.284 GB, free: 17.69 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1)