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.007966/0.007967, allocations: 100.6 kB / 15.73 MB, free: 6.035 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.001652/0.001652, allocations: 192.4 kB / 16.67 MB, free: 5.973 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.581/1.581, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.384/0.384, allocations: 37.99 MB / 307.9 MB, free: 10.08 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.001789/0.001789, allocations: 80.27 kB / 433 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3751, allocations: 56.47 MB / 489.5 MB, free: 20 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.6991/1.074, allocations: 187.7 MB / 0.6613 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01211/1.086, allocations: 7.024 MB / 0.6682 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001355/1.088, allocations: 18.36 kB / 0.6682 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001363/1.089, allocations: 348 kB / 0.6685 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008728/1.098, allocations: 2.371 MB / 0.6708 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003368/1.101, allocations: 0.9387 MB / 0.6717 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003472/1.105, allocations: 1.694 MB / 0.6734 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008909/1.106, allocations: 450.3 kB / 0.6738 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002323/1.108, allocations: 0.8341 MB / 0.6746 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009491/1.109, allocations: 0.4976 MB / 0.6751 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001243/1.109, allocations: 54.38 kB / 0.6752 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004707/1.114, allocations: 1.505 MB / 0.6766 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002762/1.114, allocations: 173 kB / 0.6768 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007953/1.115, allocations: 370.5 kB / 0.6772 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005216/1.12, allocations: 1.75 MB / 0.6789 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/1.12, allocations: 4.25 kB / 0.6789 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.104e-06/1.12, allocations: 1.938 kB / 0.6789 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.26e-05/1.12, allocations: 0.8438 kB / 0.6789 GB, free: 1.133 MB / 0.4981 GB 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.002816/1.123, allocations: 1.133 MB / 0.68 GB, free: 16.48 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/1.123, allocations: 12.83 kB / 0.68 GB, free: 16.48 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/1.124, allocations: 155.4 kB / 0.6801 GB, free: 16.45 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/1.126, allocations: 0.5113 MB / 0.6806 GB, free: 16.19 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.519e-05/1.126, allocations: 32.84 kB / 0.6807 GB, free: 16.18 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/1.126, allocations: 41.94 kB / 0.6807 GB, free: 16.18 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/1.127, allocations: 0.6408 MB / 0.6813 GB, free: 16.03 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/1.127, allocations: 2.062 kB / 0.6813 GB, free: 16.03 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.177e-05/1.127, allocations: 25.03 kB / 0.6814 GB, free: 16.03 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/1.127, allocations: 13.28 kB / 0.6814 GB, free: 16.03 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009681/1.128, allocations: 0.4884 MB / 0.6819 GB, free: 16.03 MB / 0.5137 GB 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.003199/1.131, allocations: 2.671 MB / 0.6845 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006786/1.132, allocations: 321 kB / 0.6848 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002749/1.132, allocations: 159.5 kB / 0.6849 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001545/1.134, allocations: 1.304 MB / 0.6862 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.391e-05/1.134, allocations: 46.62 kB / 0.6862 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=35): time 1.943e-06/1.134, allocations: 0 / 0.6862 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35): time 0.001759/1.136, allocations: 0.6932 MB / 0.6869 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/1.136, allocations: 156.6 kB / 0.6871 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006324/1.136, allocations: 0.5247 MB / 0.6876 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.101e-05/1.137, allocations: 34.55 kB / 0.6876 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002712/1.137, allocations: 302.1 kB / 0.6879 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/1.137, allocations: 125.1 kB / 0.688 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001858/1.137, allocations: 117.5 kB / 0.6881 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001837/1.137, allocations: 366.7 kB / 0.6885 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/1.138, allocations: 140.2 kB / 0.6886 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004074/1.138, allocations: 323.9 kB / 0.6889 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007028/1.139, allocations: 482.3 kB / 0.6894 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/1.139, allocations: 0.9688 kB / 0.6894 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009978/1.14, allocations: 0.5635 MB / 0.6899 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/1.14, allocations: 8.188 kB / 0.6899 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/1.14, allocations: 5.25 kB / 0.6899 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00159/1.141, allocations: 237.9 kB / 0.6902 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004029/1.142, allocations: 117.7 kB / 0.6903 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006328/1.142, allocations: 0.5911 MB / 0.6909 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006203/1.143, allocations: 60.66 kB / 0.6909 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/1.143, allocations: 52.75 kB / 0.691 GB, free: 11.05 MB / 0.5137 GB 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.0004473/1.144, allocations: 194.3 kB / 0.6912 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/1.144, allocations: 62.44 kB / 0.6912 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/1.146, allocations: 0.735 MB / 0.6919 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/1.146, allocations: 2.25 kB / 0.6919 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/1.146, allocations: 0 / 0.6919 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/1.146, allocations: 7.609 kB / 0.6919 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/1.147, allocations: 1.017 MB / 0.6929 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/1.147, allocations: 6.094 kB / 0.6929 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/1.148, allocations: 55.27 kB / 0.693 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003228/1.151, allocations: 436 kB / 0.6934 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.386e-05/1.151, allocations: 11.11 kB / 0.6934 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005674/1.152, allocations: 0.6008 MB / 0.694 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.152, allocations: 3.5 kB / 0.694 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/1.153, allocations: 0.4969 MB / 0.6945 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002806/1.153, allocations: 137.4 kB / 0.6946 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/1.153, allocations: 14.02 kB / 0.6946 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003546/1.154, allocations: 15.64 kB / 0.6947 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.961e-05/1.154, allocations: 30.12 kB / 0.6947 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.357e-05/1.154, allocations: 18.12 kB / 0.6947 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006725/1.154, allocations: 440.7 kB / 0.6951 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/1.154, allocations: 2.141 kB / 0.6951 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001557/1.156, allocations: 332.7 kB / 0.6954 GB, free: 9.34 MB / 0.5137 GB 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.001564/1.158, allocations: 469.5 kB / 0.6959 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001151/1.159, allocations: 389.6 kB / 0.6963 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/1.159, allocations: 0 / 0.6963 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003317/1.159, allocations: 155.5 kB / 0.6964 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002124/1.161, allocations: 413.1 kB / 0.6968 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001946/1.163, allocations: 0.9181 MB / 0.6977 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000583/1.164, allocations: 0.8709 MB / 0.6985 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001028/1.165, allocations: 212.2 kB / 0.6987 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/1.165, allocations: 79.58 kB / 0.6988 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of SimCode: time 1.583e-06/1.165, allocations: 0 / 0.6988 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of Templates: time 0.03628/1.201, allocations: 18.09 MB / 0.7165 GB, free: 12.64 MB / 0.5294 GB 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)