Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_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.2_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.00141/0.001411, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.625/1.625, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3996/0.3996, allocations: 39.93 MB / 309.3 MB, free: 9.336 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.2. 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.001643/0.001643, allocations: 62.42 kB / 376.9 MB, free: 13.1 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1527, allocations: 56.89 MB / 433.8 MB, free: 4.109 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5379/0.6906, allocations: 185.9 MB / 0.6052 GB, free: 9.809 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.7009, allocations: 7.213 MB / 0.6123 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.7021, allocations: 15.88 kB / 0.6123 GB, free: 2.566 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.7032, allocations: 294.4 kB / 0.6126 GB, free: 2.277 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008393/0.7116, allocations: 2.055 MB / 0.6146 GB, free: 232 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003595/0.7153, allocations: 0.8578 MB / 0.6154 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0031/0.7184, allocations: 2.175 MB / 0.6175 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005939/0.719, allocations: 388.5 kB / 0.6179 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001917/0.7209, allocations: 0.7667 MB / 0.6186 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007534/0.7217, allocations: 0.5214 MB / 0.6192 GB, free: 11.53 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.121e-05/0.7218, allocations: 35.94 kB / 0.6192 GB, free: 11.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003372/0.7252, allocations: 1.373 MB / 0.6205 GB, free: 10.12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002593/0.7255, allocations: 143.5 kB / 0.6207 GB, free: 9.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000496/0.726, allocations: 354.4 kB / 0.621 GB, free: 9.633 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003576/0.7296, allocations: 1.726 MB / 0.6227 GB, free: 7.902 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.7296, allocations: 0 / 0.6227 GB, free: 7.902 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.7296, allocations: 0 / 0.6227 GB, free: 7.902 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.7296, allocations: 4 kB / 0.6227 GB, free: 7.898 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.002313/0.7319, allocations: 1.135 MB / 0.6238 GB, free: 6.715 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.732, allocations: 8.031 kB / 0.6238 GB, free: 6.707 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.7331, allocations: 163 kB / 0.624 GB, free: 6.547 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000756/0.7339, allocations: 0.4925 MB / 0.6244 GB, free: 6.012 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.939e-05/0.734, allocations: 40.94 kB / 0.6245 GB, free: 5.973 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.213e-05/0.734, allocations: 40 kB / 0.6245 GB, free: 5.934 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.7353, allocations: 0.6361 MB / 0.6251 GB, free: 5.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.7353, allocations: 0 / 0.6251 GB, free: 5.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.267e-05/0.7354, allocations: 27.94 kB / 0.6252 GB, free: 5.223 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.7354, allocations: 12 kB / 0.6252 GB, free: 5.211 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008798/0.7363, allocations: 499.5 kB / 0.6257 GB, free: 4.723 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.003891/0.7402, allocations: 2.672 MB / 0.6283 GB, free: 1.863 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007349/0.7409, allocations: 318.8 kB / 0.6286 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002701/0.7412, allocations: 156.8 kB / 0.6287 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.314/1.055, allocations: 1.313 MB / 0.63 GB, free: 162 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.068e-05/1.055, allocations: 44.28 kB / 0.63 GB, free: 162 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 3.867e-06/1.055, allocations: 0 / 0.63 GB, free: 162 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.002081/1.057, allocations: 0.6945 MB / 0.6307 GB, free: 161.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/1.058, allocations: 162.7 kB / 0.6309 GB, free: 161.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006558/1.058, allocations: 0.516 MB / 0.6314 GB, free: 161.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.717e-05/1.058, allocations: 36.27 kB / 0.6314 GB, free: 161.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/1.058, allocations: 303.6 kB / 0.6317 GB, free: 161.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.847e-05/1.059, allocations: 124.1 kB / 0.6318 GB, free: 161.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/1.059, allocations: 120.5 kB / 0.6319 GB, free: 161.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.87e-05/1.059, allocations: 362.2 kB / 0.6323 GB, free: 161 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/1.059, allocations: 145.1 kB / 0.6324 GB, free: 161 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003294/1.059, allocations: 323.9 kB / 0.6327 GB, free: 160.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000592/1.06, allocations: 472.3 kB / 0.6332 GB, free: 160.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.06, allocations: 6.469 kB / 0.6332 GB, free: 160.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000907/1.061, allocations: 0.5669 MB / 0.6337 GB, free: 160.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/1.061, allocations: 6.688 kB / 0.6337 GB, free: 160.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/1.061, allocations: 3.828 kB / 0.6338 GB, free: 160.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001522/1.063, allocations: 239.3 kB / 0.634 GB, free: 160.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/1.063, allocations: 119.2 kB / 0.6341 GB, free: 160.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000381/1.063, allocations: 0.5922 MB / 0.6347 GB, free: 160 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004235/1.064, allocations: 64.38 kB / 0.6347 GB, free: 160 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.63e-05/1.064, allocations: 57.28 kB / 0.6348 GB, free: 160 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.0002532/1.064, allocations: 197.3 kB / 0.635 GB, free: 159.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/1.064, allocations: 57.34 kB / 0.635 GB, free: 159.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/1.066, allocations: 0.7298 MB / 0.6357 GB, free: 159.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/1.066, allocations: 8.344 kB / 0.6358 GB, free: 159.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.066, allocations: 3.844 kB / 0.6358 GB, free: 159.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/1.066, allocations: 3.375 kB / 0.6358 GB, free: 159.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/1.067, allocations: 1.025 MB / 0.6368 GB, free: 158.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/1.067, allocations: 3.188 kB / 0.6368 GB, free: 158.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/1.067, allocations: 49.28 kB / 0.6368 GB, free: 158.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003241/1.07, allocations: 443.5 kB / 0.6372 GB, free: 158.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.69e-05/1.071, allocations: 14.38 kB / 0.6372 GB, free: 158.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003534/1.071, allocations: 0.5934 MB / 0.6378 GB, free: 158.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.071, allocations: 7.25 kB / 0.6378 GB, free: 158.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006998/1.072, allocations: 0.4898 MB / 0.6383 GB, free: 157.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/1.072, allocations: 143.3 kB / 0.6384 GB, free: 157.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/1.072, allocations: 11.19 kB / 0.6385 GB, free: 157.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003741/1.072, allocations: 32.31 kB / 0.6385 GB, free: 157.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.217e-05/1.072, allocations: 27.08 kB / 0.6385 GB, free: 157.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.709e-05/1.072, allocations: 21.11 kB / 0.6385 GB, free: 157.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000505/1.073, allocations: 445.5 kB / 0.639 GB, free: 157.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.073, allocations: 0 / 0.639 GB, free: 157.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001284/1.074, allocations: 326.4 kB / 0.6393 GB, free: 157.6 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.001247/1.075, allocations: 480.9 kB / 0.6397 GB, free: 157.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009164/1.076, allocations: 367.9 kB / 0.6401 GB, free: 157.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.076, allocations: 0 / 0.6401 GB, free: 157.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003174/1.077, allocations: 154.8 kB / 0.6402 GB, free: 157.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001864/1.079, allocations: 386.9 kB / 0.6406 GB, free: 157.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/1.08, allocations: 1.129 MB / 0.6417 GB, free: 156.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/1.081, allocations: 0.8642 MB / 0.6425 GB, free: 155.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009135/1.081, allocations: 219.3 kB / 0.6428 GB, free: 155.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/1.082, allocations: 85.47 kB / 0.6428 GB, free: 155.7 MB / 494.1 MB Notification: Performance of SimCode: time 5.11e-07/1.082, allocations: 0 / 0.6428 GB, free: 155.7 MB / 494.1 MB Notification: Performance of Templates: time 0.032/1.114, allocations: 17.38 MB / 0.6598 GB, free: 154.3 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1)