Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.conf.json 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/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001087/0.001087, allocations: 197.7 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 225.6 MB / 234.8 MB, free: 3.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008868/0.0008868, allocations: 98.52 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2097/0.2097, allocations: 45.15 MB / 383.8 MB, free: 248 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.946e-05/1.949e-05, allocations: 4 kB / 453.3 MB, free: 75.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1229, allocations: 63.25 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.501/1.624, allocations: 0.5005 GB / 1.005 GB, free: 163.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/1.624, allocations: 95.94 kB / 1.005 GB, free: 163.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8729/2.497, allocations: 247.3 MB / 1.246 GB, free: 111 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.333e-06/2.497, allocations: 0 / 1.246 GB, free: 111 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.92e-05/2.497, allocations: 10.19 kB / 1.246 GB, free: 111 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002531/2.5, allocations: 1.108 MB / 1.248 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/2.5, allocations: 10.59 kB / 1.248 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/2.501, allocations: 173.7 kB / 1.248 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007462/2.502, allocations: 497.2 kB / 1.248 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/2.502, allocations: 17.19 kB / 1.248 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.217e-05/2.502, allocations: 23 kB / 1.248 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006794/2.503, allocations: 429.5 kB / 1.249 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008112/2.503, allocations: 0.5492 MB / 1.249 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/2.503, allocations: 9.672 kB / 1.249 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.913e-05/2.504, allocations: 0 / 1.249 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/2.504, allocations: 17.8 kB / 1.249 GB, free: 109.4 MB / 0.5261 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.002736/2.506, allocations: 2.574 MB / 1.252 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003261/2.507, allocations: 221.3 kB / 1.252 GB, free: 107 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/2.507, allocations: 127.5 kB / 1.252 GB, free: 107 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003436/2.507, allocations: 432.5 kB / 1.252 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/2.507, allocations: 42.44 kB / 1.253 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 1.863e-06/2.507, allocations: 0 / 1.253 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31): time 0.002139/2.509, allocations: 0.6277 MB / 1.253 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/2.509, allocations: 162.1 kB / 1.253 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00037/2.51, allocations: 391.5 kB / 1.254 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/2.51, allocations: 28.95 kB / 1.254 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/2.51, allocations: 318.6 kB / 1.254 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.959e-05/2.51, allocations: 104.6 kB / 1.254 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/2.51, allocations: 3.406 kB / 1.254 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.867e-05/2.51, allocations: 357.9 kB / 1.254 GB, free: 105 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/2.51, allocations: 129.8 kB / 1.255 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/2.511, allocations: 294.3 kB / 1.255 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001651/2.512, allocations: 470.3 kB / 1.255 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/2.512, allocations: 0 / 1.255 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002163/2.515, allocations: 0.778 MB / 1.256 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/2.515, allocations: 5.312 kB / 1.256 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/2.515, allocations: 7.062 kB / 1.256 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002134/2.515, allocations: 53.77 kB / 1.256 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003664/2.515, allocations: 122.5 kB / 1.256 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004328/2.516, allocations: 0.6112 MB / 1.257 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004316/2.516, allocations: 51.23 kB / 1.257 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-05/2.516, allocations: 53.89 kB / 1.257 GB, free: 103.4 MB / 0.5261 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.0001311/2.516, allocations: 116.7 kB / 1.257 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001946/2.518, allocations: 0.6354 MB / 1.258 GB, free: 103 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.508e-05/2.518, allocations: 57.52 kB / 1.258 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001786/2.52, allocations: 0.9735 MB / 1.259 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/2.52, allocations: 2.094 kB / 1.259 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/2.52, allocations: 0 / 1.259 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/2.52, allocations: 0 / 1.259 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/2.522, allocations: 1.129 MB / 1.26 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/2.522, allocations: 3.656 kB / 1.26 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/2.522, allocations: 47.95 kB / 1.26 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001383/2.522, allocations: 54.92 kB / 1.26 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/2.522, allocations: 7.109 kB / 1.26 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003958/2.523, allocations: 0.6063 MB / 1.26 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/2.523, allocations: 0 / 1.26 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009824/2.524, allocations: 0.6454 MB / 1.261 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/2.524, allocations: 147.9 kB / 1.261 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-05/2.524, allocations: 7.406 kB / 1.261 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003678/2.524, allocations: 18.11 kB / 1.261 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.787e-05/2.524, allocations: 26.03 kB / 1.261 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.485e-05/2.524, allocations: 19.23 kB / 1.261 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003873/2.525, allocations: 329.1 kB / 1.262 GB, free: 100 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.71e-07/2.525, allocations: 0 / 1.262 GB, free: 100 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002045/2.527, allocations: 442.4 kB / 1.262 GB, free: 99.84 MB / 0.5261 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.003705/2.531, allocations: 2.998 MB / 1.265 GB, free: 97.89 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006976/2.531, allocations: 323.2 kB / 1.265 GB, free: 97.77 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/2.531, allocations: 7.594 kB / 1.265 GB, free: 97.77 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/2.532, allocations: 121.5 kB / 1.265 GB, free: 97.72 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/2.533, allocations: 266.2 kB / 1.266 GB, free: 97.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/2.535, allocations: 0.797 MB / 1.266 GB, free: 97.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/2.535, allocations: 0.8827 MB / 1.267 GB, free: 96.29 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00126/2.536, allocations: 0.5422 MB / 1.268 GB, free: 96.07 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003697/2.537, allocations: 232 kB / 1.268 GB, free: 95.91 MB / 0.5261 GB Notification: Performance of SimCode: time 1.253e-06/2.537, allocations: 0 / 1.268 GB, free: 95.91 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04931/2.586, allocations: 24.9 MB / 1.292 GB, free: 72.35 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002574/2.586, allocations: 183.5 kB / 1.293 GB, free: 72.16 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.903/5.49, allocations: 3.125 kB / 1.293 GB, free: 72.16 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1)