Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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: translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 108 kB / 15.6 MB, free: 132 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.0012/0.0012, allocations: 198 kB / 16.54 MB, free: 6.672 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.772/1.772, allocations: 205.1 MB / 222.4 MB, free: 4.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3815/0.3815, allocations: 37.99 MB / 307.7 MB, free: 9.965 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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 66.41 kB / 375.3 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1355, allocations: 56.46 MB / 431.7 MB, free: 6.625 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5419/0.6774, allocations: 187.7 MB / 0.6049 GB, free: 11.75 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01119/0.6887, allocations: 7.026 MB / 0.6118 GB, free: 4.711 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001261/0.6901, allocations: 15.88 kB / 0.6118 GB, free: 4.695 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.6913, allocations: 345.7 kB / 0.6121 GB, free: 4.355 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008156/0.6995, allocations: 2.366 MB / 0.6144 GB, free: 1.992 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002796/0.7023, allocations: 0.9501 MB / 0.6153 GB, free: 1.047 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003205/0.7055, allocations: 1.692 MB / 0.617 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007998/0.7063, allocations: 444.7 kB / 0.6174 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001848/0.7082, allocations: 0.8371 MB / 0.6182 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000685/0.7089, allocations: 0.4903 MB / 0.6187 GB, free: 13.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.734e-05/0.709, allocations: 56 kB / 0.6188 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003323/0.7123, allocations: 1.408 MB / 0.6201 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002088/0.7126, allocations: 175.4 kB / 0.6203 GB, free: 11.95 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004867/0.7131, allocations: 378.3 kB / 0.6207 GB, free: 11.58 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003933/0.717, allocations: 1.738 MB / 0.6224 GB, free: 9.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.717, allocations: 0 / 0.6224 GB, free: 9.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.717, allocations: 0 / 0.6224 GB, free: 9.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.7171, allocations: 0 / 0.6224 GB, free: 9.84 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002186/0.7192, allocations: 1.141 MB / 0.6235 GB, free: 8.652 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.7193, allocations: 15.89 kB / 0.6235 GB, free: 8.637 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.7205, allocations: 155.1 kB / 0.6236 GB, free: 8.484 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007141/0.7212, allocations: 496.4 kB / 0.6241 GB, free: 7.957 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.324e-05/0.7212, allocations: 37 kB / 0.6242 GB, free: 7.922 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.82e-05/0.7213, allocations: 41.81 kB / 0.6242 GB, free: 7.883 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.7225, allocations: 0.6477 MB / 0.6248 GB, free: 7.184 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.7225, allocations: 4 kB / 0.6248 GB, free: 7.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.479e-05/0.7226, allocations: 23.94 kB / 0.6249 GB, free: 7.156 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.737e-05/0.7226, allocations: 12 kB / 0.6249 GB, free: 7.145 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000927/0.7235, allocations: 0.4995 MB / 0.6254 GB, free: 6.648 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.003363/0.7269, allocations: 2.676 MB / 0.628 GB, free: 3.781 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006906/0.7276, allocations: 325.1 kB / 0.6283 GB, free: 3.457 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000268/0.7279, allocations: 156.8 kB / 0.6284 GB, free: 3.301 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001525/0.7294, allocations: 1.311 MB / 0.6297 GB, free: 1.773 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.719e-05/0.7295, allocations: 34.56 kB / 0.6297 GB, free: 1.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 1.532e-06/0.7295, allocations: 0 / 0.6297 GB, free: 1.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.001759/0.7313, allocations: 0.7015 MB / 0.6304 GB, free: 1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.7314, allocations: 162.2 kB / 0.6306 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006906/0.7321, allocations: 0.5184 MB / 0.6311 GB, free: 280 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.938e-05/0.7322, allocations: 33.7 kB / 0.6311 GB, free: 240 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2902/1.022, allocations: 301.2 kB / 0.6314 GB, free: 164.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002969/1.023, allocations: 127.6 kB / 0.6315 GB, free: 164.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/1.023, allocations: 110.2 kB / 0.6316 GB, free: 164.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/1.023, allocations: 367.7 kB / 0.632 GB, free: 164.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003527/1.024, allocations: 140.6 kB / 0.6321 GB, free: 164.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004251/1.024, allocations: 316.8 kB / 0.6324 GB, free: 163.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007573/1.025, allocations: 477.1 kB / 0.6329 GB, free: 163.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/1.025, allocations: 0 / 0.6329 GB, free: 163.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001053/1.026, allocations: 0.5741 MB / 0.6334 GB, free: 163.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/1.026, allocations: 10.22 kB / 0.6334 GB, free: 163.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.026, allocations: 3.188 kB / 0.6334 GB, free: 163.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00157/1.028, allocations: 241.8 kB / 0.6337 GB, free: 163.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/1.028, allocations: 123 kB / 0.6338 GB, free: 163.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003728/1.028, allocations: 0.5793 MB / 0.6344 GB, free: 163.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004106/1.029, allocations: 53.03 kB / 0.6344 GB, free: 163.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.119e-05/1.029, allocations: 52.56 kB / 0.6345 GB, free: 163.1 MB / 494.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002742/1.029, allocations: 198.4 kB / 0.6347 GB, free: 163 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/1.029, allocations: 68.86 kB / 0.6347 GB, free: 163 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/1.031, allocations: 0.7369 MB / 0.6354 GB, free: 162.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/1.031, allocations: 3.219 kB / 0.6354 GB, free: 162.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.031, allocations: 0.875 kB / 0.6354 GB, free: 162.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/1.031, allocations: 6.562 kB / 0.6354 GB, free: 162.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/1.032, allocations: 1.015 MB / 0.6364 GB, free: 162.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/1.032, allocations: 0 / 0.6364 GB, free: 162.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/1.032, allocations: 51.36 kB / 0.6365 GB, free: 162.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003021/1.035, allocations: 450.6 kB / 0.6369 GB, free: 162.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/1.035, allocations: 14.22 kB / 0.6369 GB, free: 162.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003822/1.036, allocations: 0.5964 MB / 0.6375 GB, free: 161.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/1.036, allocations: 6.062 kB / 0.6375 GB, free: 161.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006693/1.037, allocations: 0.4948 MB / 0.638 GB, free: 161.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/1.037, allocations: 147.8 kB / 0.6381 GB, free: 161.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/1.037, allocations: 10.53 kB / 0.6382 GB, free: 161.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003213/1.037, allocations: 15.78 kB / 0.6382 GB, free: 161.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.639e-05/1.037, allocations: 28.48 kB / 0.6382 GB, free: 161.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/1.037, allocations: 20.89 kB / 0.6382 GB, free: 161.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005273/1.038, allocations: 438.9 kB / 0.6386 GB, free: 161 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.038, allocations: 2.406 kB / 0.6386 GB, free: 161 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001188/1.039, allocations: 331.3 kB / 0.639 GB, free: 161 MB / 494.1 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0011/1.04, allocations: 471.3 kB / 0.6394 GB, free: 160.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008513/1.041, allocations: 385.9 kB / 0.6398 GB, free: 160.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/1.041, allocations: 3.438 kB / 0.6398 GB, free: 160.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002816/1.041, allocations: 153.5 kB / 0.6399 GB, free: 160.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/1.043, allocations: 406.7 kB / 0.6403 GB, free: 160.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/1.045, allocations: 0.9584 MB / 0.6412 GB, free: 160.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/1.045, allocations: 0.8666 MB / 0.6421 GB, free: 159.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009814/1.046, allocations: 216.2 kB / 0.6423 GB, free: 159.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/1.046, allocations: 83.41 kB / 0.6424 GB, free: 159.3 MB / 494.1 MB Notification: Performance of SimCode: time 6.71e-07/1.046, allocations: 0 / 0.6424 GB, free: 159.3 MB / 494.1 MB Notification: Performance of Templates: time 0.03702/1.083, allocations: 18 MB / 0.6599 GB, free: 157.7 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1)