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.001118/0.001119, 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.00125/0.00125, allocations: 190.5 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.729/1.729, allocations: 205.1 MB / 222 MB, free: 4.738 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.4793/0.4793, allocations: 37.98 MB / 307.3 MB, free: 10.05 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.001456/0.001456, allocations: 60.55 kB / 374.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1534, allocations: 56.48 MB / 431 MB, free: 7.059 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5651/0.7185, allocations: 185.9 MB / 0.6025 GB, free: 14.07 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01083/0.7294, allocations: 7.22 MB / 0.6095 GB, free: 6.844 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001412/0.7309, allocations: 15.88 kB / 0.6096 GB, free: 6.828 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.7321, allocations: 290.4 kB / 0.6098 GB, free: 6.543 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006977/0.7391, allocations: 2.061 MB / 0.6118 GB, free: 4.488 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00267/0.7418, allocations: 0.8619 MB / 0.6127 GB, free: 3.637 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002877/0.7446, allocations: 2.175 MB / 0.6148 GB, free: 1.457 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006628/0.7453, allocations: 380.5 kB / 0.6152 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001773/0.7471, allocations: 0.7667 MB / 0.6159 GB, free: 328 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006901/0.7478, allocations: 0.5214 MB / 0.6164 GB, free: 15.8 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.929e-05/0.7479, allocations: 32 kB / 0.6165 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003168/0.7511, allocations: 1.373 MB / 0.6178 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002103/0.7513, allocations: 151.4 kB / 0.6179 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005278/0.7519, allocations: 350.4 kB / 0.6183 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004155/0.756, allocations: 1.726 MB / 0.62 GB, free: 12.17 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.756, allocations: 4 kB / 0.62 GB, free: 12.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.7561, allocations: 0 / 0.62 GB, free: 12.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.7561, allocations: 0 / 0.62 GB, free: 12.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.002219/0.7583, allocations: 1.141 MB / 0.6211 GB, free: 10.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.594e-05/0.7584, allocations: 8.031 kB / 0.6211 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.7595, allocations: 163.1 kB / 0.6212 GB, free: 10.81 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007314/0.7603, allocations: 0.4924 MB / 0.6217 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.7603, allocations: 32.94 kB / 0.6218 GB, free: 10.24 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.413e-05/0.7604, allocations: 44 kB / 0.6218 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.7616, allocations: 0.6438 MB / 0.6224 GB, free: 9.512 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.7617, allocations: 0 / 0.6224 GB, free: 9.512 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-05/0.7617, allocations: 27.94 kB / 0.6225 GB, free: 9.484 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.7618, allocations: 12 kB / 0.6225 GB, free: 9.473 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009053/0.7627, allocations: 495.6 kB / 0.6229 GB, free: 8.984 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.003304/0.766, allocations: 2.672 MB / 0.6255 GB, free: 6.125 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007266/0.7667, allocations: 318.9 kB / 0.6259 GB, free: 5.805 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/0.767, allocations: 159.9 kB / 0.626 GB, free: 5.648 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001622/0.7687, allocations: 1.303 MB / 0.6273 GB, free: 4.129 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.856e-05/0.7687, allocations: 46.5 kB / 0.6273 GB, free: 4.074 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 2.154e-06/0.7687, allocations: 0 / 0.6273 GB, free: 4.074 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.001958/0.7707, allocations: 0.7014 MB / 0.628 GB, free: 3.344 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001715/0.7709, allocations: 162.2 kB / 0.6282 GB, free: 3.148 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007632/0.7717, allocations: 0.5184 MB / 0.6287 GB, free: 2.617 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.376e-05/0.7717, allocations: 33.7 kB / 0.6287 GB, free: 2.578 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002701/0.772, allocations: 299.6 kB / 0.629 GB, free: 2.281 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.7721, allocations: 118.2 kB / 0.6291 GB, free: 2.164 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/0.7724, allocations: 122.1 kB / 0.6292 GB, free: 2.039 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.7726, allocations: 362.8 kB / 0.6296 GB, free: 1.676 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003002/0.7729, allocations: 153 kB / 0.6297 GB, free: 1.527 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004407/0.7733, allocations: 319 kB / 0.63 GB, free: 1.141 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006809/0.774, allocations: 474.5 kB / 0.6305 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.774, allocations: 0 / 0.6305 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001031/0.775, allocations: 0.5641 MB / 0.631 GB, free: 40 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.7751, allocations: 15.88 kB / 0.631 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.7751, allocations: 4 kB / 0.631 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2841/1.059, allocations: 235.2 kB / 0.6313 GB, free: 163.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004599/1.06, allocations: 114.7 kB / 0.6314 GB, free: 163.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003774/1.06, allocations: 0.5938 MB / 0.6319 GB, free: 163.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004674/1.061, allocations: 62.91 kB / 0.632 GB, free: 163.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.455e-05/1.061, allocations: 53.86 kB / 0.6321 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.0003217/1.061, allocations: 193.3 kB / 0.6322 GB, free: 163 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/1.061, allocations: 59.22 kB / 0.6323 GB, free: 163 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/1.063, allocations: 0.7418 MB / 0.633 GB, free: 162.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/1.063, allocations: 7.078 kB / 0.633 GB, free: 162.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/1.063, allocations: 0 / 0.633 GB, free: 162.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/1.063, allocations: 0 / 0.633 GB, free: 162.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/1.064, allocations: 1.022 MB / 0.634 GB, free: 162.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/1.064, allocations: 3.344 kB / 0.634 GB, free: 162.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/1.064, allocations: 55.12 kB / 0.6341 GB, free: 162.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003128/1.067, allocations: 442.3 kB / 0.6345 GB, free: 162.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/1.067, allocations: 9.906 kB / 0.6345 GB, free: 162.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003224/1.068, allocations: 0.5966 MB / 0.6351 GB, free: 162 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.068, allocations: 3.312 kB / 0.6351 GB, free: 162 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007577/1.068, allocations: 0.4935 MB / 0.6356 GB, free: 161.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/1.069, allocations: 145.2 kB / 0.6357 GB, free: 161.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.838e-05/1.069, allocations: 10.14 kB / 0.6357 GB, free: 161.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003513/1.069, allocations: 31.78 kB / 0.6358 GB, free: 161.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.651e-05/1.069, allocations: 31.2 kB / 0.6358 GB, free: 161.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.5e-05/1.069, allocations: 19.81 kB / 0.6358 GB, free: 161.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004958/1.07, allocations: 438.3 kB / 0.6362 GB, free: 161.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.07, allocations: 0 / 0.6362 GB, free: 161.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001022/1.071, allocations: 335 kB / 0.6365 GB, free: 161.5 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.00103/1.072, allocations: 475.9 kB / 0.637 GB, free: 161.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000717/1.072, allocations: 375.3 kB / 0.6374 GB, free: 161.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/1.072, allocations: 0 / 0.6374 GB, free: 161.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002682/1.073, allocations: 152.7 kB / 0.6375 GB, free: 161.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/1.074, allocations: 381.2 kB / 0.6379 GB, free: 161.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/1.076, allocations: 1.128 MB / 0.639 GB, free: 160.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/1.076, allocations: 0.8666 MB / 0.6398 GB, free: 159.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008496/1.077, allocations: 225.8 kB / 0.64 GB, free: 159.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/1.077, allocations: 78.92 kB / 0.6401 GB, free: 159.8 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/1.077, allocations: 2.938 kB / 0.6401 GB, free: 159.8 MB / 494.1 MB Notification: Performance of Templates: time 0.02674/1.104, allocations: 17.37 MB / 0.6571 GB, free: 158.3 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)