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.001134/0.001134, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.491/1.491, allocations: 205.1 MB / 222.4 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05563/0.05563, allocations: 11.84 MB / 281.6 MB, free: 9.43 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.001852/0.001853, allocations: 68.28 kB / 341.8 MB, free: 21.97 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08288/0.08474, allocations: 49.23 MB / 391.1 MB, free: 4.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.004367/0.08915, allocations: 2.807 MB / 393.9 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003376/0.09255, allocations: 2.271 MB / 396.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002378/0.09283, allocations: 0 / 396.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003955/0.09324, allocations: 95.38 kB / 396.2 MB, free: 15.48 MB / 302.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.0005903/0.09385, allocations: 182.7 kB / 396.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.095, allocations: 454.5 kB / 396.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004995/0.09551, allocations: 370.2 kB / 397.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.0957, allocations: 64.72 kB / 397.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002581/0.09597, allocations: 131.5 kB / 397.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000263/0.09624, allocations: 155.2 kB / 397.6 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.402e-05/0.0963, allocations: 16 kB / 397.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006/0.09691, allocations: 287.8 kB / 397.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.09704, allocations: 63.7 kB / 397.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.0972, allocations: 159.1 kB / 398.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008257/0.09804, allocations: 0.4908 MB / 398.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.09805, allocations: 0 / 398.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.09806, allocations: 4 kB / 398.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.09808, allocations: 0 / 398.6 MB, free: 13.14 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.00103/0.09912, allocations: 0.6349 MB / 399.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.09916, allocations: 11.89 kB / 399.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.688e-05/0.09925, allocations: 36.47 kB / 399.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.0996, allocations: 295.5 kB / 399.5 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.09963, allocations: 20.38 kB / 399.6 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.09966, allocations: 16 kB / 399.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000406/0.1001, allocations: 235.2 kB / 399.8 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1001, allocations: 3.938 kB / 399.8 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.1001, allocations: 4 kB / 399.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.1001, allocations: 8 kB / 399.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004301/0.1006, allocations: 245.6 kB / 400.1 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.1022, allocations: 1.329 MB / 401.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004101/0.1026, allocations: 170.7 kB / 401.5 MB, free: 9.859 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.1028, allocations: 84.86 kB / 401.6 MB, free: 9.773 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001879/0.103, allocations: 174.2 kB / 401.8 MB, free: 9.566 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.1031, allocations: 34.5 kB / 401.8 MB, free: 9.523 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.1031, allocations: 0 / 401.8 MB, free: 9.523 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.02793/0.131, allocations: 2.73 MB / 404.6 MB, free: 6.758 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.1311, allocations: 59.39 kB / 404.6 MB, free: 6.688 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.0005156/0.1316, allocations: 353.6 kB / 405 MB, free: 6.332 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/0.1317, allocations: 29.7 kB / 405 MB, free: 6.297 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.1318, allocations: 176.7 kB / 405.2 MB, free: 6.117 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.1319, allocations: 106.5 kB / 405.3 MB, free: 6.012 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/0.1321, allocations: 81.66 kB / 405.4 MB, free: 5.926 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1322, allocations: 342.8 kB / 405.7 MB, free: 5.582 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008616/0.1331, allocations: 287.8 kB / 406 MB, free: 5.301 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008727/0.134, allocations: 330.1 kB / 406.3 MB, free: 4.969 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/0.1358, allocations: 0.5764 MB / 406.9 MB, free: 4.383 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1358, allocations: 0 / 406.9 MB, free: 4.383 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002836/0.1386, allocations: 0.8967 MB / 407.8 MB, free: 3.473 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.1387, allocations: 7.938 kB / 407.8 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.1387, allocations: 7.938 kB / 407.8 MB, free: 3.457 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002289/0.141, allocations: 1.028 MB / 408.8 MB, free: 2.422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.1413, allocations: 55.95 kB / 408.9 MB, free: 2.367 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005657/0.147, allocations: 1.819 MB / 410.7 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006918/0.1477, allocations: 47.98 kB / 410.7 MB, free: 460 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.357e-05/0.1478, allocations: 19.98 kB / 410.7 MB, free: 440 kB / 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.0002684/0.1481, allocations: 158.6 kB / 410.9 MB, free: 272 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.1482, allocations: 35.61 kB / 410.9 MB, free: 236 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003748/0.152, allocations: 0.9935 MB / 411.9 MB, free: 15.22 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.152, allocations: 7.938 kB / 411.9 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.152, allocations: 0 / 411.9 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.152, allocations: 0 / 411.9 MB, free: 15.21 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006222/0.1582, allocations: 1.845 MB / 413.8 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.1583, allocations: 3.984 kB / 413.8 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002729/0.1586, allocations: 51.97 kB / 413.8 MB, free: 13.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002042/0.1606, allocations: 0.8721 MB / 414.7 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.865e-05/0.1607, allocations: 15.98 kB / 414.7 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005006/0.1657, allocations: 1.749 MB / 416.5 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1658, allocations: 0 / 416.5 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002573/0.1683, allocations: 0.8734 MB / 417.3 MB, free: 9.645 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/0.1686, allocations: 172.5 kB / 417.5 MB, free: 9.457 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.1687, allocations: 8 kB / 417.5 MB, free: 9.449 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005839/0.1693, allocations: 43.95 kB / 417.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.178e-05/0.1694, allocations: 23.91 kB / 417.6 MB, free: 9.383 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.214e-05/0.1695, allocations: 15.98 kB / 417.6 MB, free: 9.367 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003835/0.1699, allocations: 255.2 kB / 417.9 MB, free: 9.121 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1699, allocations: 0 / 417.9 MB, free: 9.121 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008329/0.1707, allocations: 235.9 kB / 418.1 MB, free: 8.891 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.00147/0.1722, allocations: 0.5237 MB / 418.6 MB, free: 8.477 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004937/0.1771, allocations: 0.7805 MB / 419.4 MB, free: 7.695 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.1772, allocations: 0 / 419.4 MB, free: 7.695 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003447/0.1806, allocations: 468.3 kB / 419.8 MB, free: 7.238 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006942/0.1813, allocations: 97.84 kB / 419.9 MB, free: 7.145 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.1834, allocations: 0.769 MB / 420.7 MB, free: 6.348 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004376/0.1838, allocations: 0.784 MB / 421.5 MB, free: 5.535 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002745/0.1841, allocations: 54.92 kB / 421.5 MB, free: 5.484 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.1842, allocations: 35.42 kB / 421.6 MB, free: 5.449 MB / 318.1 MB Notification: Performance of SimCode: time 1.032e-06/0.1842, allocations: 0 / 421.6 MB, free: 5.449 MB / 318.1 MB Notification: Performance of Templates: time 0.185/0.3693, allocations: 14.85 MB / 436.4 MB, free: 38.74 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)