Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.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/OpenHydraulics 1.0.0-master/package.mo", uses=false) Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/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(OpenHydraulics.DevelopmentTests.ThrottleValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2") translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007444/0.007444, allocations: 102 kB / 15.73 MB, free: 6.043 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.001418/0.001418, allocations: 195 kB / 16.67 MB, free: 5.965 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.409/1.409, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05624/0.05624, allocations: 11.84 MB / 281.7 MB, free: 9.348 MB / 238.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: OpenHydraulics requested package Modelica of version 3.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.001723/0.001723, allocations: 67.91 kB / 392.3 MB, free: 3.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3218, allocations: 49.22 MB / 441.6 MB, free: 4.418 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sine.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.004575/0.3264, allocations: 2.818 MB / 444.4 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003208/0.3296, allocations: 2.274 MB / 446.6 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001888/0.3298, allocations: 3.406 kB / 446.6 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000443/0.3303, allocations: 103.7 kB / 446.7 MB, free: 0.7773 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0005073/0.3308, allocations: 184.2 kB / 446.9 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.3319, allocations: 451.5 kB / 447.4 MB, free: 456 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004323/0.3323, allocations: 379.9 kB / 447.7 MB, free: 260 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.3325, allocations: 61.28 kB / 447.8 MB, free: 228 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.3327, allocations: 137.9 kB / 447.9 MB, free: 164 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.3329, allocations: 159.1 kB / 448.1 MB, free: 84 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.219e-05/0.333, allocations: 23.22 kB / 448.1 MB, free: 80 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005487/0.3335, allocations: 278 kB / 448.4 MB, free: 8 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.3337, allocations: 65.8 kB / 448.4 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.3339, allocations: 153.2 kB / 448.6 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007506/0.3346, allocations: 0.5043 MB / 449.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3346, allocations: 0 / 449.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3347, allocations: 0 / 449.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.457e-06/0.3347, allocations: 0 / 449.1 MB, free: 15.55 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009833/0.3357, allocations: 0.6363 MB / 449.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.3357, allocations: 13.14 kB / 449.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.29e-05/0.3358, allocations: 33.91 kB / 449.8 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004324/0.3363, allocations: 303.5 kB / 450.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.3363, allocations: 16.09 kB / 450.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.3363, allocations: 21.62 kB / 450.1 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000486/0.3368, allocations: 222.4 kB / 450.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.3368, allocations: 0 / 450.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.844e-05/0.3369, allocations: 13.16 kB / 450.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.3369, allocations: 5.594 kB / 450.4 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005009/0.3374, allocations: 243.8 kB / 450.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/0.3393, allocations: 1.326 MB / 451.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004668/0.3397, allocations: 172 kB / 452.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.3399, allocations: 80.7 kB / 452.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002227/0.3402, allocations: 175.8 kB / 452.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.3402, allocations: 43.81 kB / 452.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.362e-06/0.3402, allocations: 5.375 kB / 452.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.02676/0.367, allocations: 2.718 MB / 455.1 MB, free: 11.26 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.3671, allocations: 55 kB / 455.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005096/0.3676, allocations: 354.2 kB / 455.5 MB, free: 10.97 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.197e-05/0.3677, allocations: 30.83 kB / 455.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.3678, allocations: 180.7 kB / 455.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.3679, allocations: 102.7 kB / 455.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.3682, allocations: 73.83 kB / 455.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3683, allocations: 346.5 kB / 456.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008776/0.3692, allocations: 287.2 kB / 456.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008813/0.3701, allocations: 324.2 kB / 456.8 MB, free: 9.969 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001741/0.3719, allocations: 0.58 MB / 457.4 MB, free: 9.652 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3719, allocations: 0 / 457.4 MB, free: 9.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002888/0.3748, allocations: 0.8899 MB / 458.3 MB, free: 9.176 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.3748, allocations: 4.938 kB / 458.3 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.3748, allocations: 1.219 kB / 458.3 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002389/0.3772, allocations: 1.04 MB / 459.3 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003184/0.3776, allocations: 55.78 kB / 459.4 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005768/0.3833, allocations: 1.833 MB / 461.2 MB, free: 7.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006934/0.384, allocations: 47.98 kB / 461.3 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.395e-05/0.3841, allocations: 15.98 kB / 461.3 MB, free: 7.133 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (throttleValve.data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002524/0.3844, allocations: 161.7 kB / 461.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.3845, allocations: 35.53 kB / 461.5 MB, free: 6.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003646/0.3882, allocations: 0.9897 MB / 462.5 MB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.3882, allocations: 7.938 kB / 462.5 MB, free: 5.914 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.3882, allocations: 0 / 462.5 MB, free: 5.914 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.3882, allocations: 3.984 kB / 462.5 MB, free: 5.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005833/0.394, allocations: 1.835 MB / 464.3 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.3941, allocations: 4 kB / 464.3 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.3943, allocations: 51.89 kB / 464.4 MB, free: 3.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001953/0.3963, allocations: 0.8681 MB / 465.2 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.443e-05/0.3964, allocations: 15.98 kB / 465.2 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004846/0.4012, allocations: 1.745 MB / 467 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4013, allocations: 64 / 467 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002493/0.4038, allocations: 0.8783 MB / 467.9 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002788/0.4041, allocations: 172.6 kB / 468 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.412e-05/0.4041, allocations: 4 kB / 468 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005485/0.4047, allocations: 48.03 kB / 468.1 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.078e-05/0.4048, allocations: 19.97 kB / 468.1 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.053e-05/0.4048, allocations: 19.98 kB / 468.1 MB, free: 76 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002985/0.4051, allocations: 259.2 kB / 468.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4051, allocations: 4 kB / 468.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008081/0.406, allocations: 223.9 kB / 468.6 MB, free: 15.61 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001427/0.4074, allocations: 0.5253 MB / 469.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004636/0.412, allocations: 0.7651 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4121, allocations: 0 / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003172/0.4152, allocations: 464.3 kB / 470.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005886/0.4158, allocations: 97.25 kB / 470.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.4176, allocations: 0.7768 MB / 471.2 MB, free: 13.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.418, allocations: 0.7801 MB / 472 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001833/0.4182, allocations: 62.86 kB / 472.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.358e-05/0.4183, allocations: 35.42 kB / 472.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4183, allocations: 0 / 472.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of Templates: time 0.02466/0.4429, allocations: 14.93 MB / 487 MB, free: 13.14 MB / 366.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe 2>&1)