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.001494/0.001494, allocations: 115 kB / 16.37 MB, free: 6.016 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.001713/0.001713, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.455/1.455, allocations: 205.1 MB / 223.2 MB, free: 12.13 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05471/0.05471, allocations: 11.85 MB / 282.4 MB, free: 220 kB / 222.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.001614/0.001614, allocations: 72.41 kB / 343.3 MB, free: 3.188 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3062, allocations: 49.21 MB / 392.5 MB, free: 49.39 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.004752/0.311, allocations: 2.806 MB / 395.3 MB, free: 47.42 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003536/0.3146, allocations: 2.271 MB / 397.6 MB, free: 45.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001997/0.3148, allocations: 3.375 kB / 397.6 MB, free: 45.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004123/0.3152, allocations: 99.88 kB / 397.7 MB, free: 45.77 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.0005261/0.3158, allocations: 182.5 kB / 397.8 MB, free: 45.65 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.3169, allocations: 442.1 kB / 398.3 MB, free: 45.45 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.0) as default value. Notification: Performance of NFFlatten.flatten: time 0.0005231/0.3175, allocations: 379.1 kB / 398.6 MB, free: 45.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.3176, allocations: 62.77 kB / 398.7 MB, free: 45.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.3179, allocations: 136.5 kB / 398.8 MB, free: 45.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.3181, allocations: 152.2 kB / 399 MB, free: 45.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.925e-05/0.3181, allocations: 22 kB / 399 MB, free: 45.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006493/0.3188, allocations: 282.4 kB / 399.3 MB, free: 45.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.3189, allocations: 68.7 kB / 399.4 MB, free: 44.97 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001791/0.3191, allocations: 153.3 kB / 399.5 MB, free: 44.88 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007523/0.3198, allocations: 0.5037 MB / 400 MB, free: 44.6 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3199, allocations: 0 / 400 MB, free: 44.6 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3199, allocations: 0 / 400 MB, free: 44.6 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.3199, allocations: 1.188 kB / 400 MB, free: 44.6 MB / 318.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.0007846/0.3207, allocations: 0.6367 MB / 400.6 MB, free: 44.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.3207, allocations: 16.61 kB / 400.7 MB, free: 44.01 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.801e-05/0.3208, allocations: 33.81 kB / 400.7 MB, free: 44 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004232/0.3212, allocations: 299.7 kB / 401 MB, free: 43.7 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.3213, allocations: 20.97 kB / 401 MB, free: 43.69 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.3213, allocations: 17.06 kB / 401 MB, free: 43.69 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000399/0.3217, allocations: 225.9 kB / 401.2 MB, free: 43.55 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3217, allocations: 0 / 401.2 MB, free: 43.55 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.3218, allocations: 9.438 kB / 401.3 MB, free: 43.54 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.3218, allocations: 8.719 kB / 401.3 MB, free: 43.54 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004276/0.3222, allocations: 248.6 kB / 401.5 MB, free: 43.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.3236, allocations: 1.322 MB / 402.8 MB, free: 42.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003999/0.324, allocations: 169.8 kB / 403 MB, free: 41.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.3242, allocations: 80.64 kB / 403.1 MB, free: 41.94 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.3244, allocations: 168.5 kB / 403.2 MB, free: 41.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.3244, allocations: 36.88 kB / 403.3 MB, free: 41.71 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.3244, allocations: 0 / 403.3 MB, free: 41.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.02618/0.3506, allocations: 2.739 MB / 406 MB, free: 40.31 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/0.3507, allocations: 53.69 kB / 406.1 MB, free: 40.25 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.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005524/0.3513, allocations: 363.2 kB / 406.4 MB, free: 40.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.283e-05/0.3513, allocations: 30.8 kB / 406.5 MB, free: 39.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.3515, allocations: 176.2 kB / 406.6 MB, free: 39.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.076e-05/0.3516, allocations: 107.8 kB / 406.7 MB, free: 39.72 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.3518, allocations: 77.28 kB / 406.8 MB, free: 39.67 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.576e-05/0.3519, allocations: 347 kB / 407.1 MB, free: 39.33 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008839/0.3528, allocations: 283.1 kB / 407.4 MB, free: 39.19 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009253/0.3537, allocations: 328.1 kB / 407.7 MB, free: 39.01 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001792/0.3555, allocations: 0.5806 MB / 408.3 MB, free: 38.69 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3555, allocations: 0 / 408.3 MB, free: 38.69 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002557/0.3581, allocations: 0.8946 MB / 409.2 MB, free: 37.9 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.3581, allocations: 4 kB / 409.2 MB, free: 37.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.3581, allocations: 4 kB / 409.2 MB, free: 37.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002063/0.3602, allocations: 1.036 MB / 410.3 MB, free: 36.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.3605, allocations: 55.89 kB / 410.3 MB, free: 36.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005057/0.3656, allocations: 1.823 MB / 412.1 MB, free: 34.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006885/0.3663, allocations: 47.97 kB / 412.2 MB, free: 34.87 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.203e-05/0.3663, allocations: 15.98 kB / 412.2 MB, free: 34.86 MB / 318.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.0002556/0.3666, allocations: 154.6 kB / 412.4 MB, free: 34.7 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.3667, allocations: 35.53 kB / 412.4 MB, free: 34.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003221/0.37, allocations: 0.9858 MB / 413.4 MB, free: 33.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.37, allocations: 11.88 kB / 413.4 MB, free: 33.65 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.37, allocations: 0 / 413.4 MB, free: 33.65 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.37, allocations: 0 / 413.4 MB, free: 33.65 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005261/0.3753, allocations: 1.85 MB / 415.2 MB, free: 31.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.3753, allocations: 0 / 415.2 MB, free: 31.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/0.3755, allocations: 51.91 kB / 415.3 MB, free: 31.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001651/0.3772, allocations: 0.8682 MB / 416.2 MB, free: 30.8 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.297e-05/0.3773, allocations: 15.98 kB / 416.2 MB, free: 30.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004411/0.3817, allocations: 1.757 MB / 417.9 MB, free: 28.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3817, allocations: 0 / 417.9 MB, free: 28.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002294/0.384, allocations: 0.8744 MB / 418.8 MB, free: 28.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/0.3843, allocations: 176.4 kB / 419 MB, free: 27.88 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.739e-05/0.3844, allocations: 8 kB / 419 MB, free: 27.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005479/0.3849, allocations: 43.95 kB / 419 MB, free: 27.83 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.348e-05/0.385, allocations: 19.97 kB / 419 MB, free: 27.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.988e-05/0.3851, allocations: 19.98 kB / 419.1 MB, free: 27.79 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002468/0.3853, allocations: 251.2 kB / 419.3 MB, free: 27.55 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3853, allocations: 0 / 419.3 MB, free: 27.55 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008425/0.3862, allocations: 235.9 kB / 419.5 MB, free: 27.32 MB / 318.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.001507/0.3877, allocations: 0.5253 MB / 420.1 MB, free: 26.98 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004541/0.3922, allocations: 0.7727 MB / 420.8 MB, free: 26.2 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.3923, allocations: 0 / 420.8 MB, free: 26.2 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003163/0.3954, allocations: 472.3 kB / 421.3 MB, free: 25.74 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007827/0.3962, allocations: 96.77 kB / 421.4 MB, free: 25.66 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.3979, allocations: 0.7498 MB / 422.1 MB, free: 24.87 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.3982, allocations: 0.7879 MB / 422.9 MB, free: 24.05 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002051/0.3984, allocations: 54.92 kB / 423 MB, free: 24 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.985e-05/0.3985, allocations: 31.42 kB / 423 MB, free: 23.97 MB / 318.1 MB Notification: Performance of SimCode: time 2.324e-06/0.3985, allocations: 0 / 423 MB, free: 23.97 MB / 318.1 MB Notification: Performance of Templates: time 0.01865/0.4171, allocations: 14.87 MB / 437.9 MB, free: 9.109 MB / 318.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 -s cvode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe 2>&1)