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.000923/0.0009235, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009413/0.009413, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.9/1.9, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.395/0.395, allocations: 40 MB / 310.7 MB, free: 9.582 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.0005825/0.0005826, allocations: 12 kB / 379.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.165, allocations: 57.96 MB / 437.4 MB, free: 1.891 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5434/0.7084, allocations: 183.4 MB / 0.6063 GB, free: 11.95 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0125/0.721, allocations: 7.096 MB / 0.6132 GB, free: 4.836 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001467/0.7226, allocations: 23.81 kB / 0.6133 GB, free: 4.812 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001618/0.7242, allocations: 290.4 kB / 0.6135 GB, free: 4.527 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008096/0.7323, allocations: 2.051 MB / 0.6155 GB, free: 2.48 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002892/0.7353, allocations: 0.8627 MB / 0.6164 GB, free: 1.629 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003418/0.7387, allocations: 2.18 MB / 0.6185 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008932/0.7396, allocations: 387.2 kB / 0.6189 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002378/0.742, allocations: 0.7667 MB / 0.6196 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009576/0.743, allocations: 0.5058 MB / 0.6201 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.758e-05/0.7431, allocations: 28 kB / 0.6201 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003774/0.7469, allocations: 1.369 MB / 0.6215 GB, free: 12.4 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.7471, allocations: 151.5 kB / 0.6216 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004712/0.7475, allocations: 372 kB / 0.622 GB, free: 11.88 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002813/0.7504, allocations: 1.706 MB / 0.6236 GB, free: 10.17 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.7504, allocations: 0 / 0.6236 GB, free: 10.17 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.7504, allocations: 0 / 0.6236 GB, free: 10.17 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.7504, allocations: 3.938 kB / 0.6236 GB, free: 10.16 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.001923/0.7523, allocations: 0.9833 MB / 0.6246 GB, free: 9.133 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.7524, allocations: 8.031 kB / 0.6246 GB, free: 9.125 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.7535, allocations: 163 kB / 0.6248 GB, free: 8.965 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006711/0.7542, allocations: 0.4886 MB / 0.6252 GB, free: 8.434 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.566e-05/0.7542, allocations: 29 kB / 0.6253 GB, free: 8.406 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.539e-05/0.7543, allocations: 51.94 kB / 0.6253 GB, free: 8.355 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.7554, allocations: 0.6361 MB / 0.6259 GB, free: 7.672 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.7554, allocations: 0 / 0.6259 GB, free: 7.672 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.82e-05/0.7555, allocations: 27.94 kB / 0.626 GB, free: 7.645 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.7555, allocations: 12 kB / 0.626 GB, free: 7.633 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008851/0.7564, allocations: 0.4956 MB / 0.6265 GB, free: 7.137 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.003014/0.7595, allocations: 2.676 MB / 0.6291 GB, free: 4.273 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006509/0.7601, allocations: 318.8 kB / 0.6294 GB, free: 3.953 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000278/0.7604, allocations: 152.8 kB / 0.6295 GB, free: 3.801 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00145/0.7619, allocations: 1.327 MB / 0.6308 GB, free: 2.258 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.7619, allocations: 38.56 kB / 0.6309 GB, free: 2.211 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 1.943e-06/0.7619, allocations: 0 / 0.6309 GB, free: 2.211 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.00164/0.7636, allocations: 0.7093 MB / 0.6316 GB, free: 1.473 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.7637, allocations: 162.2 kB / 0.6317 GB, free: 1.277 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008002/0.7645, allocations: 0.5184 MB / 0.6322 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.998e-05/0.7646, allocations: 37.64 kB / 0.6323 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003068/0.7649, allocations: 299.7 kB / 0.6325 GB, free: 416 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.765, allocations: 130.1 kB / 0.6327 GB, free: 284 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.7e-05/0.7651, allocations: 37.7 kB / 0.6327 GB, free: 240 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.2966/1.062, allocations: 366.8 kB / 0.633 GB, free: 158.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000533/1.062, allocations: 140.2 kB / 0.6332 GB, free: 158.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003632/1.063, allocations: 320.7 kB / 0.6335 GB, free: 158.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006213/1.063, allocations: 478.1 kB / 0.6339 GB, free: 158.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/1.063, allocations: 2.969 kB / 0.6339 GB, free: 158.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001066/1.064, allocations: 0.5706 MB / 0.6345 GB, free: 158 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/1.064, allocations: 10.03 kB / 0.6345 GB, free: 158 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/1.064, allocations: 3.094 kB / 0.6345 GB, free: 158 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001633/1.066, allocations: 292.2 kB / 0.6348 GB, free: 158 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003729/1.066, allocations: 121.7 kB / 0.6349 GB, free: 158 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000406/1.067, allocations: 0.5904 MB / 0.6355 GB, free: 157.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005637/1.067, allocations: 60.95 kB / 0.6355 GB, free: 157.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/1.068, allocations: 57.02 kB / 0.6356 GB, free: 157.5 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.000365/1.068, allocations: 194.5 kB / 0.6358 GB, free: 157.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/1.068, allocations: 63.94 kB / 0.6358 GB, free: 157.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/1.07, allocations: 0.7383 MB / 0.6366 GB, free: 157.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/1.07, allocations: 3.438 kB / 0.6366 GB, free: 157.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/1.07, allocations: 0.5156 kB / 0.6366 GB, free: 157.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/1.07, allocations: 4.859 kB / 0.6366 GB, free: 157.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/1.071, allocations: 1.018 MB / 0.6376 GB, free: 156.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1.071, allocations: 4.891 kB / 0.6376 GB, free: 156.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/1.071, allocations: 57.61 kB / 0.6376 GB, free: 156.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003188/1.074, allocations: 0.5305 MB / 0.6381 GB, free: 156.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/1.074, allocations: 12.92 kB / 0.6382 GB, free: 156.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003869/1.075, allocations: 0.6021 MB / 0.6388 GB, free: 156.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.075, allocations: 4.797 kB / 0.6388 GB, free: 156.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006863/1.076, allocations: 0.4982 MB / 0.6392 GB, free: 156.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/1.076, allocations: 181.4 kB / 0.6394 GB, free: 156 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.589e-05/1.076, allocations: 6.594 kB / 0.6394 GB, free: 156 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003618/1.076, allocations: 26.56 kB / 0.6394 GB, free: 156 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/1.076, allocations: 32.66 kB / 0.6395 GB, free: 156 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/1.076, allocations: 19.25 kB / 0.6395 GB, free: 156 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005459/1.077, allocations: 434.1 kB / 0.6399 GB, free: 155.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/1.077, allocations: 0.6562 kB / 0.6399 GB, free: 155.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001149/1.078, allocations: 327.4 kB / 0.6402 GB, free: 155.9 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.001331/1.079, allocations: 486.3 kB / 0.6407 GB, free: 155.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009439/1.08, allocations: 378.6 kB / 0.641 GB, free: 155.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.08, allocations: 3.125 kB / 0.6411 GB, free: 155.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003148/1.081, allocations: 151 kB / 0.6412 GB, free: 155.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/1.083, allocations: 383.3 kB / 0.6416 GB, free: 155.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/1.085, allocations: 1.165 MB / 0.6427 GB, free: 155.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/1.085, allocations: 0.8688 MB / 0.6435 GB, free: 154.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00111/1.086, allocations: 223.5 kB / 0.6438 GB, free: 154.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/1.087, allocations: 82.69 kB / 0.6438 GB, free: 154.3 MB / 494.1 MB Notification: Performance of SimCode: time 1.382e-06/1.087, allocations: 0 / 0.6438 GB, free: 154.3 MB / 494.1 MB Notification: Performance of Templates: time 0.0353/1.122, allocations: 17.28 MB / 0.6607 GB, free: 152.8 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: