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.0009083/0.0009081, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005896/0.005896, allocations: 171.4 kB / 16.27 MB, free: 6.328 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.441/1.441, allocations: 205.4 MB / 222.4 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05453/0.05453, allocations: 11.84 MB / 282.6 MB, free: 9.363 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.0006167/0.0006167, allocations: 18.34 kB / 343.5 MB, free: 22.11 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09711/0.09774, allocations: 50.21 MB / 393.7 MB, free: 3.84 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.00347/0.1013, allocations: 2.848 MB / 396.6 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003815/0.1051, allocations: 2.327 MB / 398.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003825/0.1055, allocations: 4 kB / 398.9 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004551/0.106, allocations: 83.62 kB / 399 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005628/0.1066, allocations: 155.1 kB / 399.2 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.1076, allocations: 358.9 kB / 399.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005065/0.1081, allocations: 366.2 kB / 399.9 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.1083, allocations: 48.95 kB / 399.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.1085, allocations: 119.4 kB / 400 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002982/0.1088, allocations: 155.2 kB / 400.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.627e-05/0.1089, allocations: 12 kB / 400.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005968/0.1095, allocations: 267.7 kB / 400.5 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.1096, allocations: 59.7 kB / 400.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.1098, allocations: 164.8 kB / 400.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008354/0.1107, allocations: 486.5 kB / 401.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1107, allocations: 0 / 401.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1107, allocations: 0 / 401.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.1107, allocations: 0 / 401.1 MB, free: 12.4 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.0008748/0.1116, allocations: 0.5922 MB / 401.7 MB, free: 11.76 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1116, allocations: 8.031 kB / 401.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.051e-05/0.1117, allocations: 32.56 kB / 401.8 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004134/0.1121, allocations: 303.4 kB / 402.1 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.1122, allocations: 20.38 kB / 402.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.508e-05/0.1122, allocations: 16 kB / 402.1 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004259/0.1126, allocations: 227.2 kB / 402.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1127, allocations: 4 kB / 402.3 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.1127, allocations: 12 kB / 402.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.1127, allocations: 4 kB / 402.4 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004557/0.1132, allocations: 249.6 kB / 402.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001666/0.1148, allocations: 1.317 MB / 403.9 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004004/0.1153, allocations: 174.7 kB / 404.1 MB, free: 9.168 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.1155, allocations: 87.31 kB / 404.2 MB, free: 9.082 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001793/0.1156, allocations: 178.2 kB / 404.3 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.1157, allocations: 42.42 kB / 404.4 MB, free: 8.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.1157, allocations: 4 kB / 404.4 MB, free: 8.816 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.03009/0.1458, allocations: 2.852 MB / 407.2 MB, free: 5.926 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.29e-05/0.1459, allocations: 59.41 kB / 407.3 MB, free: 5.855 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.0005452/0.1465, allocations: 357.7 kB / 407.6 MB, free: 5.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.329e-05/0.1466, allocations: 29.7 kB / 407.7 MB, free: 5.465 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.1467, allocations: 172.7 kB / 407.8 MB, free: 5.289 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.1468, allocations: 114.4 kB / 408 MB, free: 5.176 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.044e-05/0.1469, allocations: 29.7 kB / 408 MB, free: 5.141 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.147, allocations: 342.8 kB / 408.3 MB, free: 4.797 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009072/0.1479, allocations: 299.8 kB / 408.6 MB, free: 4.504 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009265/0.1489, allocations: 346.1 kB / 409 MB, free: 4.156 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00188/0.1508, allocations: 0.6114 MB / 409.6 MB, free: 3.535 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.1508, allocations: 0 / 409.6 MB, free: 3.535 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002984/0.1538, allocations: 0.9203 MB / 410.5 MB, free: 2.602 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.1538, allocations: 8 kB / 410.5 MB, free: 2.594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.1538, allocations: 7.922 kB / 410.5 MB, free: 2.586 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002226/0.1561, allocations: 1.044 MB / 411.5 MB, free: 1.535 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002957/0.1564, allocations: 59.89 kB / 411.6 MB, free: 1.477 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00576/0.1622, allocations: 1.854 MB / 413.5 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007011/0.1629, allocations: 51.95 kB / 413.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.969e-05/0.163, allocations: 19.98 kB / 413.5 MB, free: 15.5 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.0002602/0.1633, allocations: 158.6 kB / 413.7 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.1634, allocations: 31.62 kB / 413.7 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003188/0.1666, allocations: 0.9777 MB / 414.7 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.1666, allocations: 15.92 kB / 414.7 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.1666, allocations: 0 / 414.7 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.1666, allocations: 0 / 414.7 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005415/0.172, allocations: 1.877 MB / 416.6 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.1721, allocations: 0 / 416.6 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/0.1723, allocations: 59.89 kB / 416.6 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002099/0.1745, allocations: 0.8915 MB / 417.5 MB, free: 11.39 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.568e-05/0.1745, allocations: 23.92 kB / 417.6 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003228/0.1778, allocations: 1.679 MB / 419.2 MB, free: 9.641 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.1778, allocations: 7.984 kB / 419.2 MB, free: 9.633 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002574/0.1804, allocations: 0.8965 MB / 420.1 MB, free: 8.707 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002997/0.1807, allocations: 180.6 kB / 420.3 MB, free: 8.512 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.3e-05/0.1808, allocations: 8 kB / 420.3 MB, free: 8.504 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006039/0.1814, allocations: 43.97 kB / 420.4 MB, free: 8.461 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.744e-05/0.1815, allocations: 27.95 kB / 420.4 MB, free: 8.434 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-05/0.1815, allocations: 19.97 kB / 420.4 MB, free: 8.414 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002831/0.1818, allocations: 255.2 kB / 420.7 MB, free: 8.164 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1818, allocations: 0 / 420.7 MB, free: 8.164 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007461/0.1826, allocations: 227.9 kB / 420.9 MB, free: 7.941 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.00152/0.1841, allocations: 0.5322 MB / 421.4 MB, free: 7.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004909/0.189, allocations: 0.7962 MB / 422.2 MB, free: 6.723 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.189, allocations: 0 / 422.2 MB, free: 6.723 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001606/0.1907, allocations: 391.9 kB / 422.6 MB, free: 6.34 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007456/0.1914, allocations: 89.31 kB / 422.7 MB, free: 6.254 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.1933, allocations: 0.9158 MB / 423.6 MB, free: 5.301 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.1937, allocations: 0.7918 MB / 424.4 MB, free: 4.484 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002226/0.194, allocations: 50.88 kB / 424.4 MB, free: 4.438 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.862e-05/0.1941, allocations: 31.42 kB / 424.5 MB, free: 4.406 MB / 318.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1941, allocations: 0 / 424.5 MB, free: 4.406 MB / 318.1 MB Notification: Performance of Templates: time 0.1716/0.3657, allocations: 15.1 MB / 439.6 MB, free: 37.09 MB / 318.1 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: