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.001398/0.001398, allocations: 108 kB / 15.61 MB, free: 152 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.001222/0.001222, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.703/1.703, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.3741/0.3741, allocations: 39.94 MB / 309.7 MB, free: 9.266 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.001549/0.001549, allocations: 64.47 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1602, allocations: 56.89 MB / 434.5 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5603/0.7206, allocations: 187.7 MB / 0.6076 GB, free: 7.527 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01134/0.732, allocations: 7.024 MB / 0.6145 GB, free: 496 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009547/0.7331, allocations: 15.88 kB / 0.6145 GB, free: 480 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.7342, allocations: 349.7 kB / 0.6148 GB, free: 128 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007229/0.7415, allocations: 2.358 MB / 0.6171 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002856/0.7443, allocations: 0.9524 MB / 0.6181 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002856/0.7472, allocations: 1.695 MB / 0.6197 GB, free: 11.12 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007175/0.7479, allocations: 441.8 kB / 0.6201 GB, free: 10.7 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001957/0.7499, allocations: 0.8409 MB / 0.621 GB, free: 9.855 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006823/0.7506, allocations: 498 kB / 0.6214 GB, free: 9.367 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.7507, allocations: 56 kB / 0.6215 GB, free: 9.312 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003397/0.7541, allocations: 1.423 MB / 0.6229 GB, free: 7.887 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002183/0.7544, allocations: 171.4 kB / 0.623 GB, free: 7.719 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005077/0.7549, allocations: 374.4 kB / 0.6234 GB, free: 7.352 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003512/0.7584, allocations: 1.73 MB / 0.6251 GB, free: 5.617 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.7584, allocations: 3.938 kB / 0.6251 GB, free: 5.613 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.258e-06/0.7584, allocations: 0 / 0.6251 GB, free: 5.613 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.7585, allocations: 0 / 0.6251 GB, free: 5.613 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.002197/0.7607, allocations: 1.15 MB / 0.6262 GB, free: 4.418 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.7607, allocations: 11.89 kB / 0.6262 GB, free: 4.406 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.7619, allocations: 159 kB / 0.6264 GB, free: 4.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000772/0.7627, allocations: 0.4886 MB / 0.6269 GB, free: 3.719 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.079e-05/0.7627, allocations: 29.88 kB / 0.6269 GB, free: 3.691 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.371e-05/0.7628, allocations: 44 kB / 0.6269 GB, free: 3.648 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.7641, allocations: 0.6478 MB / 0.6276 GB, free: 2.957 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.7641, allocations: 0 / 0.6276 GB, free: 2.957 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.137e-05/0.7642, allocations: 31.94 kB / 0.6276 GB, free: 2.926 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.7642, allocations: 8 kB / 0.6276 GB, free: 2.918 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008763/0.7651, allocations: 499.6 kB / 0.6281 GB, free: 2.43 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.2619/1.027, allocations: 2.678 MB / 0.6307 GB, free: 161.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007876/1.028, allocations: 318.8 kB / 0.631 GB, free: 161.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002853/1.028, allocations: 159.6 kB / 0.6311 GB, free: 161.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001408/1.03, allocations: 1.308 MB / 0.6324 GB, free: 160.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/1.03, allocations: 42.97 kB / 0.6325 GB, free: 160.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 3.026e-06/1.03, allocations: 0 / 0.6325 GB, free: 160.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.001643/1.031, allocations: 0.6941 MB / 0.6331 GB, free: 160.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/1.031, allocations: 160.2 kB / 0.6333 GB, free: 160 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005422/1.032, allocations: 0.5186 MB / 0.6338 GB, free: 159.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.122e-05/1.032, allocations: 33.95 kB / 0.6338 GB, free: 159.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/1.032, allocations: 306.6 kB / 0.6341 GB, free: 159.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.423e-05/1.032, allocations: 126.4 kB / 0.6342 GB, free: 159.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/1.032, allocations: 114 kB / 0.6344 GB, free: 159.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.343e-05/1.032, allocations: 363.5 kB / 0.6347 GB, free: 159.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/1.033, allocations: 143.5 kB / 0.6348 GB, free: 159.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003543/1.033, allocations: 319.2 kB / 0.6351 GB, free: 159.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006997/1.034, allocations: 472.3 kB / 0.6356 GB, free: 158.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/1.034, allocations: 6.219 kB / 0.6356 GB, free: 158.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009386/1.035, allocations: 0.574 MB / 0.6362 GB, free: 158.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/1.035, allocations: 9.719 kB / 0.6362 GB, free: 158.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/1.035, allocations: 6.953 kB / 0.6362 GB, free: 158.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/1.036, allocations: 231.6 kB / 0.6364 GB, free: 158.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/1.037, allocations: 121 kB / 0.6365 GB, free: 158.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003694/1.037, allocations: 0.5887 MB / 0.6371 GB, free: 158.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004432/1.037, allocations: 58.92 kB / 0.6371 GB, free: 158.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/1.038, allocations: 54.42 kB / 0.6372 GB, free: 158.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.0003846/1.038, allocations: 186.7 kB / 0.6374 GB, free: 157.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/1.038, allocations: 64.5 kB / 0.6374 GB, free: 157.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/1.04, allocations: 0.7399 MB / 0.6382 GB, free: 157.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/1.04, allocations: 10.34 kB / 0.6382 GB, free: 157.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/1.04, allocations: 0 / 0.6382 GB, free: 157.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/1.04, allocations: 0 / 0.6382 GB, free: 157.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/1.041, allocations: 1.022 MB / 0.6392 GB, free: 157 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/1.041, allocations: 0 / 0.6392 GB, free: 157 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/1.042, allocations: 60.64 kB / 0.6392 GB, free: 157 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0029/1.045, allocations: 436.2 kB / 0.6396 GB, free: 156.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/1.045, allocations: 13.64 kB / 0.6396 GB, free: 156.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003163/1.045, allocations: 0.6014 MB / 0.6402 GB, free: 156.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.045, allocations: 7.094 kB / 0.6402 GB, free: 156.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006195/1.046, allocations: 0.4894 MB / 0.6407 GB, free: 156.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/1.046, allocations: 136.6 kB / 0.6408 GB, free: 155.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.8e-05/1.046, allocations: 14.62 kB / 0.6409 GB, free: 155.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003091/1.046, allocations: 17.98 kB / 0.6409 GB, free: 155.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/1.046, allocations: 27.38 kB / 0.6409 GB, free: 155.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/1.046, allocations: 20.94 kB / 0.6409 GB, free: 155.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004412/1.047, allocations: 442.3 kB / 0.6413 GB, free: 155.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.047, allocations: 3.375 kB / 0.6414 GB, free: 155.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000963/1.048, allocations: 331.8 kB / 0.6417 GB, free: 155.7 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.0008751/1.049, allocations: 459.6 kB / 0.6421 GB, free: 155.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000751/1.049, allocations: 400.1 kB / 0.6425 GB, free: 155.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.049, allocations: 0 / 0.6425 GB, free: 155.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002751/1.05, allocations: 157.9 kB / 0.6426 GB, free: 155.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001717/1.051, allocations: 401.8 kB / 0.643 GB, free: 155.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/1.053, allocations: 0.9555 MB / 0.644 GB, free: 154.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/1.053, allocations: 0.8648 MB / 0.6448 GB, free: 154.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009759/1.054, allocations: 222.8 kB / 0.645 GB, free: 154 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/1.054, allocations: 85.28 kB / 0.6451 GB, free: 154 MB / 494.1 MB Notification: Performance of SimCode: time 5.41e-07/1.054, allocations: 4 kB / 0.6451 GB, free: 154 MB / 494.1 MB Notification: Performance of Templates: time 0.03311/1.088, allocations: 17.97 MB / 0.6626 GB, free: 152.1 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)