Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",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.001599/0.001599, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 221.5 MB / 230.7 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008516/0.0008515, allocations: 100.6 kB / 281.6 MB, free: 5.332 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.2316/0.2316, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.06e-05/2.064e-05, allocations: 224 / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1586, allocations: 61.91 MB / 0.4948 GB, free: 1.164 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.533/1.692, allocations: 0.4994 GB / 0.9942 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003409/1.692, allocations: 87.95 kB / 0.9943 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8816/2.574, allocations: 246.1 MB / 1.235 GB, free: 60.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.302e-06/2.574, allocations: 0 / 1.235 GB, free: 60.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.771e-05/2.574, allocations: 16 kB / 1.235 GB, free: 60.29 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002603/2.577, allocations: 1.087 MB / 1.236 GB, free: 59.16 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/2.577, allocations: 15.98 kB / 1.236 GB, free: 59.15 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/2.578, allocations: 159 kB / 1.236 GB, free: 58.99 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008266/2.579, allocations: 0.4897 MB / 1.236 GB, free: 58.47 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/2.579, allocations: 16 kB / 1.236 GB, free: 58.45 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.308e-05/2.579, allocations: 28 kB / 1.236 GB, free: 58.43 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006539/2.579, allocations: 434.4 kB / 1.237 GB, free: 58 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007131/2.58, allocations: 0.5431 MB / 1.237 GB, free: 57.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/2.58, allocations: 0 / 1.237 GB, free: 57.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.85e-05/2.58, allocations: 4 kB / 1.237 GB, free: 57.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/2.58, allocations: 19.89 kB / 1.237 GB, free: 57.38 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.002442/2.583, allocations: 2.571 MB / 1.24 GB, free: 54.65 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/2.583, allocations: 228.5 kB / 1.24 GB, free: 54.42 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/2.583, allocations: 120.8 kB / 1.24 GB, free: 54.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003142/2.584, allocations: 428.4 kB / 1.241 GB, free: 53.79 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/2.584, allocations: 42.55 kB / 1.241 GB, free: 53.74 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 1.984e-06/2.584, allocations: 0 / 1.241 GB, free: 53.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.002111/2.586, allocations: 0.6354 MB / 1.241 GB, free: 53.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/2.586, allocations: 158.2 kB / 1.241 GB, free: 52.91 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003666/2.586, allocations: 389.1 kB / 1.242 GB, free: 52.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/2.586, allocations: 25.7 kB / 1.242 GB, free: 52.49 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/2.586, allocations: 315.3 kB / 1.242 GB, free: 52.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.083e-05/2.586, allocations: 110.3 kB / 1.242 GB, free: 52.07 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.74e-05/2.586, allocations: 0 / 1.242 GB, free: 52.07 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.419e-05/2.586, allocations: 362.7 kB / 1.243 GB, free: 51.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/2.587, allocations: 129.1 kB / 1.243 GB, free: 51.58 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/2.587, allocations: 309.8 kB / 1.243 GB, free: 51.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/2.588, allocations: 459.3 kB / 1.243 GB, free: 50.75 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/2.588, allocations: 4 kB / 1.243 GB, free: 50.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002057/2.591, allocations: 0.7788 MB / 1.244 GB, free: 49.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/2.591, allocations: 9.188 kB / 1.244 GB, free: 49.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/2.591, allocations: 8 kB / 1.244 GB, free: 49.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000209/2.591, allocations: 48.83 kB / 1.244 GB, free: 49.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/2.591, allocations: 115.8 kB / 1.244 GB, free: 49.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004104/2.592, allocations: 0.6109 MB / 1.245 GB, free: 49.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004324/2.592, allocations: 55.48 kB / 1.245 GB, free: 49.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.788e-05/2.592, allocations: 59.92 kB / 1.245 GB, free: 49.02 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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.0001523/2.592, allocations: 116.8 kB / 1.245 GB, free: 48.9 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001881/2.594, allocations: 0.6344 MB / 1.246 GB, free: 48.26 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.093e-05/2.594, allocations: 55.39 kB / 1.246 GB, free: 48.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001723/2.596, allocations: 0.9689 MB / 1.247 GB, free: 47.21 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/2.596, allocations: 0 / 1.247 GB, free: 47.21 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/2.596, allocations: 0 / 1.247 GB, free: 47.21 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/2.596, allocations: 4 kB / 1.247 GB, free: 47.21 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/2.598, allocations: 1.127 MB / 1.248 GB, free: 45.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/2.598, allocations: 0 / 1.248 GB, free: 45.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/2.598, allocations: 47.97 kB / 1.248 GB, free: 45.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001267/2.598, allocations: 40.84 kB / 1.248 GB, free: 45.89 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/2.598, allocations: 16.17 kB / 1.248 GB, free: 45.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003634/2.598, allocations: 0.6069 MB / 1.249 GB, free: 45.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/2.598, allocations: 4 kB / 1.249 GB, free: 45.24 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009506/2.599, allocations: 0.6452 MB / 1.249 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/2.6, allocations: 144.4 kB / 1.249 GB, free: 44.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.27e-05/2.6, allocations: 0 / 1.249 GB, free: 44.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/2.6, allocations: 27.97 kB / 1.249 GB, free: 44.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/2.6, allocations: 27.91 kB / 1.249 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/2.6, allocations: 23.92 kB / 1.249 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003343/2.6, allocations: 326.9 kB / 1.25 GB, free: 43.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/2.6, allocations: 0 / 1.25 GB, free: 43.95 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001566/2.602, allocations: 411.3 kB / 1.25 GB, free: 43.55 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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.003489/2.606, allocations: 2.978 MB / 1.253 GB, free: 40.64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006179/2.606, allocations: 320.9 kB / 1.253 GB, free: 40.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/2.606, allocations: 3.938 kB / 1.253 GB, free: 40.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001801/2.606, allocations: 128.8 kB / 1.254 GB, free: 40.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/2.608, allocations: 260.2 kB / 1.254 GB, free: 39.95 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/2.609, allocations: 0.7838 MB / 1.255 GB, free: 39.11 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/2.61, allocations: 0.8821 MB / 1.255 GB, free: 38.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001117/2.611, allocations: 0.5473 MB / 1.256 GB, free: 37.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003562/2.611, allocations: 219.3 kB / 1.256 GB, free: 37.43 MB / 0.5105 GB Notification: Performance of SimCode: time 7.21e-07/2.611, allocations: 0 / 1.256 GB, free: 37.43 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05162/2.663, allocations: 24.7 MB / 1.28 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/2.663, allocations: 187.7 kB / 1.28 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.882/5.545, allocations: 1.688 kB / 1.28 GB, free: 12.6 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1)