Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.Orifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",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.001115/0.001115, allocations: 180.3 kB / 14.15 MB, free: 1.176 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.509/1.509, allocations: 221.3 MB / 236 MB, free: 2.938 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.000873/0.0008731, allocations: 91.5 kB / 287 MB, free: 228 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2305/0.2305, allocations: 44.16 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.396e-05/3.398e-05, allocations: 0 / 451.9 MB, free: 9.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1465, allocations: 61.92 MB / 0.5018 GB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.577/1.724, allocations: 0.4946 GB / 0.9964 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004042/1.724, allocations: 92 kB / 0.9965 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9951/2.719, allocations: 236.6 MB / 1.228 GB, free: 105 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.633e-06/2.72, allocations: 0 / 1.228 GB, free: 105 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.15e-05/2.72, allocations: 16 kB / 1.228 GB, free: 105 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.003755/2.723, allocations: 1.053 MB / 1.229 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.415e-05/2.723, allocations: 8.031 kB / 1.229 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002826/2.724, allocations: 86.52 kB / 1.229 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001593/2.725, allocations: 169.6 kB / 1.229 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/2.727, allocations: 498.9 kB / 1.229 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.95e-05/2.727, allocations: 33 kB / 1.229 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/2.727, allocations: 44 kB / 1.229 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/2.728, allocations: 0.6361 MB / 1.23 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/2.728, allocations: 3.953 kB / 1.23 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.764e-05/2.728, allocations: 28 kB / 1.23 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/2.728, allocations: 12 kB / 1.23 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008559/2.729, allocations: 491.6 kB / 1.231 GB, free: 101.9 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.003064/2.732, allocations: 2.619 MB / 1.233 GB, free: 99.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005793/2.733, allocations: 298.8 kB / 1.233 GB, free: 98.77 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/2.733, allocations: 164.9 kB / 1.234 GB, free: 98.61 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003713/2.733, allocations: 433.2 kB / 1.234 GB, free: 98.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/2.733, allocations: 39.16 kB / 1.234 GB, free: 98.05 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=35): time 2.234e-06/2.733, allocations: 0 / 1.234 GB, free: 98.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35): time 0.00106/2.735, allocations: 469.2 kB / 1.234 GB, free: 97.58 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/2.735, allocations: 162.2 kB / 1.235 GB, free: 97.39 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005241/2.735, allocations: 464.7 kB / 1.235 GB, free: 96.92 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.316e-05/2.735, allocations: 41.7 kB / 1.235 GB, free: 96.88 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/2.735, allocations: 303.3 kB / 1.235 GB, free: 96.58 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.171e-05/2.735, allocations: 120.7 kB / 1.235 GB, free: 96.46 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/2.736, allocations: 8 kB / 1.235 GB, free: 96.45 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001051/2.736, allocations: 370.7 kB / 1.236 GB, free: 96.08 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/2.736, allocations: 133.1 kB / 1.236 GB, free: 95.95 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002989/2.736, allocations: 303 kB / 1.236 GB, free: 95.58 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/2.736, allocations: 183.8 kB / 1.236 GB, free: 95.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/2.736, allocations: 0 / 1.236 GB, free: 95.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008684/2.737, allocations: 0.5524 MB / 1.237 GB, free: 94.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/2.737, allocations: 12.06 kB / 1.237 GB, free: 94.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/2.737, allocations: 4 kB / 1.237 GB, free: 94.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/2.739, allocations: 236.6 kB / 1.237 GB, free: 94.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/2.739, allocations: 123.8 kB / 1.237 GB, free: 94.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003768/2.74, allocations: 0.5875 MB / 1.238 GB, free: 93.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005409/2.74, allocations: 63.48 kB / 1.238 GB, free: 93.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.491e-05/2.74, allocations: 51.98 kB / 1.238 GB, free: 93.74 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.0001641/2.74, allocations: 132.9 kB / 1.238 GB, free: 93.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/2.74, allocations: 67.23 kB / 1.238 GB, free: 93.54 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/2.742, allocations: 1.045 MB / 1.239 GB, free: 92.46 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/2.742, allocations: 7.953 kB / 1.239 GB, free: 92.45 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/2.742, allocations: 0 / 1.239 GB, free: 92.45 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/2.742, allocations: 3.984 kB / 1.239 GB, free: 92.45 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/2.744, allocations: 0.9449 MB / 1.24 GB, free: 91.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/2.744, allocations: 4 kB / 1.24 GB, free: 91.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/2.744, allocations: 51.91 kB / 1.24 GB, free: 91.38 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001166/2.745, allocations: 228.7 kB / 1.24 GB, free: 91.15 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/2.745, allocations: 8 kB / 1.24 GB, free: 91.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003258/2.745, allocations: 0.5875 MB / 1.241 GB, free: 90.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/2.745, allocations: 0 / 1.241 GB, free: 90.53 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006522/2.746, allocations: 0.5353 MB / 1.242 GB, free: 89.92 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000232/2.746, allocations: 156.3 kB / 1.242 GB, free: 89.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/2.746, allocations: 12 kB / 1.242 GB, free: 89.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004443/2.747, allocations: 31.89 kB / 1.242 GB, free: 89.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/2.747, allocations: 35.8 kB / 1.242 GB, free: 89.67 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/2.747, allocations: 15.98 kB / 1.242 GB, free: 89.65 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004594/2.747, allocations: 401.5 kB / 1.242 GB, free: 89.26 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.21e-07/2.747, allocations: 4 kB / 1.242 GB, free: 89.26 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00143/2.749, allocations: 387.5 kB / 1.242 GB, free: 88.88 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.003307/2.752, allocations: 2.49 MB / 1.245 GB, free: 86.33 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008769/2.753, allocations: 344.9 kB / 1.245 GB, free: 85.99 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/2.753, allocations: 0 / 1.245 GB, free: 85.99 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002552/2.753, allocations: 139.5 kB / 1.245 GB, free: 85.86 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/2.755, allocations: 346.5 kB / 1.246 GB, free: 85.52 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/2.758, allocations: 0.772 MB / 1.246 GB, free: 84.69 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/2.758, allocations: 0.879 MB / 1.247 GB, free: 83.78 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001341/2.759, allocations: 0.571 MB / 1.248 GB, free: 83.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004219/2.76, allocations: 227.3 kB / 1.248 GB, free: 82.98 MB / 0.5261 GB Notification: Performance of SimCode: time 2.284e-06/2.76, allocations: 0 / 1.248 GB, free: 82.98 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06525/2.825, allocations: 36.48 MB / 1.284 GB, free: 46.66 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/2.825, allocations: 241.7 kB / 1.284 GB, free: 46.34 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.396/6.222, allocations: 0 / 1.284 GB, free: 46.34 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1)