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.001073/0.001073, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001622/0.001622, allocations: 193 kB / 16.13 MB, free: 6.652 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.464/1.464, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05222/0.05222, allocations: 11.85 MB / 281.2 MB, free: 9.637 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.001471/0.001471, allocations: 75.58 kB / 341.1 MB, free: 22.43 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09766/0.09915, allocations: 49.23 MB / 390.4 MB, free: 5.148 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.00414/0.1033, allocations: 3.199 MB / 393.6 MB, free: 1.922 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003181/0.1065, allocations: 2.373 MB / 395.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002008/0.1068, allocations: 8 kB / 395.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004326/0.1072, allocations: 83.56 kB / 396 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003973/0.1077, allocations: 155.1 kB / 396.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009375/0.1086, allocations: 361.5 kB / 396.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003495/0.109, allocations: 362.2 kB / 396.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.1091, allocations: 52.94 kB / 396.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.1093, allocations: 131.4 kB / 397.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.1095, allocations: 147.3 kB / 397.2 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.892e-05/0.1096, allocations: 12 kB / 397.2 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004874/0.1101, allocations: 271.8 kB / 397.5 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.606e-05/0.1102, allocations: 63.69 kB / 397.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.1103, allocations: 143.1 kB / 397.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005693/0.1109, allocations: 490.6 kB / 398.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1109, allocations: 0 / 398.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.61e-07/0.1109, allocations: 0 / 398.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1109, allocations: 0 / 398.2 MB, free: 13.31 MB / 302.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.0009518/0.1119, allocations: 0.6428 MB / 398.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.1119, allocations: 12.03 kB / 398.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.721e-05/0.112, allocations: 36.47 kB / 398.9 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.1124, allocations: 295.4 kB / 399.1 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.1124, allocations: 24.38 kB / 399.2 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.211e-05/0.1124, allocations: 19.94 kB / 399.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/0.1128, allocations: 223.2 kB / 399.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1129, allocations: 8 kB / 399.4 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.1129, allocations: 4 kB / 399.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.1129, allocations: 4 kB / 399.4 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004233/0.1133, allocations: 245.6 kB / 399.7 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.1149, allocations: 1.325 MB / 401 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004248/0.1153, allocations: 174.7 kB / 401.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002317/0.1156, allocations: 76.83 kB / 401.2 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000203/0.1158, allocations: 178.2 kB / 401.4 MB, free: 9.734 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.1158, allocations: 38.5 kB / 401.4 MB, free: 9.688 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.854e-06/0.1158, allocations: 0 / 401.4 MB, free: 9.688 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.02876/0.1446, allocations: 2.726 MB / 404.2 MB, free: 6.926 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.1447, allocations: 55.41 kB / 404.2 MB, free: 6.859 MB / 302.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.0005291/0.1452, allocations: 361.5 kB / 404.6 MB, free: 6.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.056e-05/0.1453, allocations: 29.7 kB / 404.6 MB, free: 6.465 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.1454, allocations: 172.8 kB / 404.8 MB, free: 6.289 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.1455, allocations: 106.4 kB / 404.9 MB, free: 6.184 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.1457, allocations: 81.66 kB / 405 MB, free: 6.098 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1459, allocations: 346.8 kB / 405.3 MB, free: 5.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008662/0.1467, allocations: 287.8 kB / 405.6 MB, free: 5.469 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009049/0.1476, allocations: 326.2 kB / 405.9 MB, free: 5.141 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00185/0.1495, allocations: 0.5841 MB / 406.5 MB, free: 4.547 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1495, allocations: 0 / 406.5 MB, free: 4.547 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002867/0.1524, allocations: 0.8967 MB / 407.4 MB, free: 3.637 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.1524, allocations: 4 kB / 407.4 MB, free: 3.633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.1524, allocations: 4 kB / 407.4 MB, free: 3.629 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002242/0.1547, allocations: 1.032 MB / 408.4 MB, free: 2.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.155, allocations: 55.89 kB / 408.5 MB, free: 2.535 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005852/0.1609, allocations: 1.823 MB / 410.3 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006964/0.1616, allocations: 39.94 kB / 410.3 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.957e-05/0.1617, allocations: 19.98 kB / 410.4 MB, free: 0.6016 MB / 302.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.0002526/0.1619, allocations: 158.7 kB / 410.5 MB, free: 448 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.162, allocations: 31.62 kB / 410.5 MB, free: 416 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003142/0.1652, allocations: 0.9541 MB / 411.5 MB, free: 15.44 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.1652, allocations: 7.938 kB / 411.5 MB, free: 15.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1652, allocations: 0 / 411.5 MB, free: 15.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1652, allocations: 3.938 kB / 411.5 MB, free: 15.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005405/0.1706, allocations: 1.83 MB / 413.3 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1707, allocations: 0 / 413.3 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/0.171, allocations: 51.97 kB / 413.4 MB, free: 13.47 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001995/0.173, allocations: 0.8875 MB / 414.3 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.515e-05/0.173, allocations: 11.98 kB / 414.3 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003228/0.1763, allocations: 1.647 MB / 415.9 MB, free: 10.87 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1763, allocations: 0 / 415.9 MB, free: 10.87 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002592/0.1789, allocations: 0.8576 MB / 416.8 MB, free: 9.98 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002922/0.1792, allocations: 176.5 kB / 417 MB, free: 9.789 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.1793, allocations: 11.98 kB / 417 MB, free: 9.777 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006264/0.1799, allocations: 35.97 kB / 417 MB, free: 9.742 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.369e-05/0.18, allocations: 27.89 kB / 417 MB, free: 9.715 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.162e-05/0.1801, allocations: 19.98 kB / 417.1 MB, free: 9.695 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003158/0.1804, allocations: 259.2 kB / 417.3 MB, free: 9.441 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1804, allocations: 0 / 417.3 MB, free: 9.441 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008792/0.1813, allocations: 231.9 kB / 417.5 MB, free: 9.215 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.001568/0.1829, allocations: 0.5345 MB / 418.1 MB, free: 8.797 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004963/0.1879, allocations: 0.761 MB / 418.8 MB, free: 8.035 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.1879, allocations: 0 / 418.8 MB, free: 8.035 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001551/0.1895, allocations: 355.9 kB / 419.2 MB, free: 7.688 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007262/0.1902, allocations: 85.27 kB / 419.3 MB, free: 7.605 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.1921, allocations: 0.8709 MB / 420.1 MB, free: 6.703 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.1925, allocations: 0.7879 MB / 420.9 MB, free: 5.891 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002313/0.1927, allocations: 54.92 kB / 421 MB, free: 5.84 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.251e-05/0.1928, allocations: 31.42 kB / 421 MB, free: 5.809 MB / 318.1 MB Notification: Performance of SimCode: time 4.7e-07/0.1928, allocations: 4 kB / 421 MB, free: 5.805 MB / 318.1 MB Notification: Performance of Templates: time 0.1915/0.3843, allocations: 15.15 MB / 436.2 MB, free: 39.96 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 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.pipe 2>&1)