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.0008267/0.0008268, allocations: 91.84 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.004963/0.004963, allocations: 172.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.537/1.537, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.3361/0.3361, allocations: 38.04 MB / 308.8 MB, free: 10.39 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.0005895/0.0005895, allocations: 20 kB / 377.1 MB, free: 14.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1336, allocations: 57.51 MB / 434.6 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.429/0.5626, allocations: 183.4 MB / 0.6035 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009718/0.5724, allocations: 7.1 MB / 0.6105 GB, free: 9.43 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007035/0.5731, allocations: 15.88 kB / 0.6105 GB, free: 9.414 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.5741, allocations: 290.4 kB / 0.6108 GB, free: 9.129 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006108/0.5803, allocations: 2.065 MB / 0.6128 GB, free: 7.07 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002457/0.5827, allocations: 0.8427 MB / 0.6136 GB, free: 6.234 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003265/0.586, allocations: 2.179 MB / 0.6157 GB, free: 4.051 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006694/0.5867, allocations: 388.5 kB / 0.6161 GB, free: 3.676 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001754/0.5885, allocations: 0.7706 MB / 0.6168 GB, free: 2.902 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006459/0.5891, allocations: 0.498 MB / 0.6173 GB, free: 2.402 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.637e-05/0.5892, allocations: 32 kB / 0.6174 GB, free: 2.371 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003076/0.5923, allocations: 1.373 MB / 0.6187 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001949/0.5925, allocations: 151.4 kB / 0.6188 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004275/0.5929, allocations: 380 kB / 0.6192 GB, free: 480 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002468/0.5954, allocations: 1.706 MB / 0.6209 GB, free: 14.76 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.5954, allocations: 0 / 0.6209 GB, free: 14.76 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.5954, allocations: 0 / 0.6209 GB, free: 14.76 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.509e-05/0.5955, allocations: 0 / 0.6209 GB, free: 14.76 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.002088/0.5976, allocations: 0.9852 MB / 0.6218 GB, free: 13.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.518e-05/0.5976, allocations: 12.03 kB / 0.6219 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.5987, allocations: 152 kB / 0.622 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007984/0.5995, allocations: 0.4924 MB / 0.6225 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.369e-05/0.5996, allocations: 41 kB / 0.6225 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.651e-05/0.5997, allocations: 40 kB / 0.6226 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.6009, allocations: 0.6426 MB / 0.6232 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.6009, allocations: 3.938 kB / 0.6232 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.904e-05/0.601, allocations: 23.94 kB / 0.6232 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.601, allocations: 11.98 kB / 0.6232 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000898/0.6019, allocations: 0.4918 MB / 0.6237 GB, free: 11.73 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.003158/0.6051, allocations: 2.672 MB / 0.6263 GB, free: 8.879 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006259/0.6057, allocations: 314.7 kB / 0.6266 GB, free: 8.562 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/0.606, allocations: 164.9 kB / 0.6268 GB, free: 8.398 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001408/0.6074, allocations: 1.323 MB / 0.6281 GB, free: 6.859 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.183e-05/0.6075, allocations: 38.56 kB / 0.6281 GB, free: 6.812 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 3.366e-06/0.6075, allocations: 0 / 0.6281 GB, free: 6.812 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.001636/0.6091, allocations: 0.7092 MB / 0.6288 GB, free: 6.074 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.989e-05/0.6092, allocations: 162.2 kB / 0.6289 GB, free: 5.879 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005811/0.6098, allocations: 0.5146 MB / 0.6294 GB, free: 5.352 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.549e-05/0.6099, allocations: 37.7 kB / 0.6295 GB, free: 5.309 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/0.6101, allocations: 303.6 kB / 0.6298 GB, free: 5.008 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.6102, allocations: 122.2 kB / 0.6299 GB, free: 4.887 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.403e-05/0.6103, allocations: 37.7 kB / 0.6299 GB, free: 4.844 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.6104, allocations: 366.8 kB / 0.6303 GB, free: 4.477 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002554/0.6107, allocations: 145.1 kB / 0.6304 GB, free: 4.336 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003792/0.6111, allocations: 322.9 kB / 0.6307 GB, free: 3.941 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006316/0.6117, allocations: 478.6 kB / 0.6312 GB, free: 3.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.6118, allocations: 4 kB / 0.6312 GB, free: 3.406 MB / 494.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009163/0.6127, allocations: 0.5677 MB / 0.6317 GB, free: 2.828 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.6127, allocations: 15.88 kB / 0.6317 GB, free: 2.812 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.6127, allocations: 4 kB / 0.6318 GB, free: 2.809 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001523/0.6143, allocations: 292.9 kB / 0.632 GB, free: 2.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/0.6146, allocations: 115.9 kB / 0.6321 GB, free: 2.406 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000451/0.6151, allocations: 0.5836 MB / 0.6327 GB, free: 1.797 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004261/0.6155, allocations: 75.36 kB / 0.6328 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.923e-05/0.6156, allocations: 51.98 kB / 0.6328 GB, free: 1.672 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.0002677/0.6159, allocations: 189.6 kB / 0.633 GB, free: 1.477 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.464e-05/0.616, allocations: 59.34 kB / 0.6331 GB, free: 1.418 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/0.6175, allocations: 0.7481 MB / 0.6338 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.6176, allocations: 4 kB / 0.6338 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6176, allocations: 0 / 0.6338 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.6176, allocations: 3.984 kB / 0.6338 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2633/0.8809, allocations: 1.016 MB / 0.6348 GB, free: 160.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.8809, allocations: 0.7812 kB / 0.6348 GB, free: 160.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/0.8811, allocations: 51.06 kB / 0.6348 GB, free: 160.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003147/0.8843, allocations: 0.5448 MB / 0.6354 GB, free: 160.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.8843, allocations: 9.969 kB / 0.6354 GB, free: 160.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003544/0.8847, allocations: 0.6028 MB / 0.636 GB, free: 159.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.8847, allocations: 3.156 kB / 0.636 GB, free: 159.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007464/0.8855, allocations: 0.4976 MB / 0.6365 GB, free: 159.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/0.8857, allocations: 178.6 kB / 0.6366 GB, free: 159.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.649e-05/0.8858, allocations: 6.844 kB / 0.6366 GB, free: 159.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/0.8861, allocations: 30.27 kB / 0.6367 GB, free: 159.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-05/0.8862, allocations: 35.06 kB / 0.6367 GB, free: 159.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.403e-05/0.8863, allocations: 23.62 kB / 0.6367 GB, free: 159.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004788/0.8867, allocations: 431.8 kB / 0.6371 GB, free: 159.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8867, allocations: 0 / 0.6371 GB, free: 159.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001017/0.8878, allocations: 338.4 kB / 0.6375 GB, free: 159.4 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.0009067/0.8887, allocations: 461.6 kB / 0.6379 GB, free: 159.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007159/0.8894, allocations: 374.3 kB / 0.6383 GB, free: 159.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.8894, allocations: 3.375 kB / 0.6383 GB, free: 159.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002518/0.8897, allocations: 158.6 kB / 0.6384 GB, free: 159.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/0.8916, allocations: 381.8 kB / 0.6388 GB, free: 159.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.8927, allocations: 1.168 MB / 0.6399 GB, free: 158.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.893, allocations: 0.8717 MB / 0.6408 GB, free: 157.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007975/0.8938, allocations: 222.3 kB / 0.641 GB, free: 157.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.894, allocations: 73.8 kB / 0.6411 GB, free: 157.9 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.894, allocations: 0 / 0.6411 GB, free: 157.9 MB / 494.1 MB Notification: Performance of Templates: time 0.02761/0.9216, allocations: 17.29 MB / 0.6579 GB, free: 156.4 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: