Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/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 ModelicaServices with version 1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo) Using package Modelica with version 3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/package.mo) Using package Complex with version 1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo) Running command: translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.001222/0.001222, allocations: 144.1 kB / 16.09 MB, free: 5.57 MB / 13.93 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Fluid/Dissipation.mo:8490:35-8490:107:writable] Warning: The file was not encoded in UTF-8: "

Calculation of a generic pressure loss in dependence of nom...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Fluid/Dissipation.mo:8600:35-8600:107:writable] Warning: The file was not encoded in UTF-8: "

Calculation of a generic pressure loss in dependence of nomi...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Fluid/Dissipation.mo:8738:35-8738:107:writable] Warning: The file was not encoded in UTF-8: "

Calculation of a generic pressure loss in dependence of a pr...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Fluid/Dissipation.mo:8793:35-8793:107:writable] Warning: The file was not encoded in UTF-8: "

Calculation of a generic pressure loss with linear or quadra...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/package.mo): time 1.118/1.118, allocations: 150.7 MB / 167.5 MB, free: 2.566 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001315/0.001315, allocations: 81.62 kB / 202.8 MB, free: 12.29 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.1349/0.1349, allocations: 11.84 MB / 249.9 MB, free: 34.3 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003265/0.0003266, allocations: 8 kB / 297.7 MB, free: 8.004 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06078/0.06112, allocations: 37.15 MB / 334.8 MB, free: 2.809 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1792/0.2404, allocations: 50.59 MB / 385.4 MB, free: 24.96 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001414/0.2405, allocations: 69.08 kB / 385.5 MB, free: 24.94 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01612/0.2567, allocations: 6.579 MB / 392 MB, free: 20.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2567, allocations: 0 / 392 MB, free: 20.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.2567, allocations: 4 kB / 392 MB, free: 20.41 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0003564/0.2571, allocations: 454.5 kB / 392.5 MB, free: 19.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.2571, allocations: 8.031 kB / 392.5 MB, free: 19.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.249e-05/0.2572, allocations: 12.84 kB / 392.5 MB, free: 19.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.2574, allocations: 220.1 kB / 392.7 MB, free: 19.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.2574, allocations: 12.11 kB / 392.7 MB, free: 19.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.2574, allocations: 15.94 kB / 392.7 MB, free: 19.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.2576, allocations: 116.8 kB / 392.9 MB, free: 19.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.2576, allocations: 0 / 392.9 MB, free: 19.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.2576, allocations: 3.938 kB / 392.9 MB, free: 19.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.2576, allocations: 4 kB / 392.9 MB, free: 19.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.2578, allocations: 121.5 kB / 393 MB, free: 19.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007434/0.2586, allocations: 0.923 MB / 393.9 MB, free: 18.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.2587, allocations: 61.25 kB / 394 MB, free: 18.42 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.352e-05/0.2587, allocations: 24.59 kB / 394 MB, free: 18.4 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.99e-05/0.2588, allocations: 89.09 kB / 394.1 MB, free: 18.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.211e-05/0.2589, allocations: 30.56 kB / 394.1 MB, free: 18.26 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.2589, allocations: 4 kB / 394.1 MB, free: 18.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.000229/0.2591, allocations: 103.7 kB / 394.2 MB, free: 18.17 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.741e-05/0.2591, allocations: 55.39 kB / 394.3 MB, free: 18.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.2593, allocations: 197.4 kB / 394.5 MB, free: 17.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.2593, allocations: 29.7 kB / 394.5 MB, free: 17.89 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.2593, allocations: 115.3 kB / 394.6 MB, free: 17.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.257e-05/0.2594, allocations: 27.66 kB / 394.6 MB, free: 17.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-06/0.2594, allocations: 0 / 394.6 MB, free: 17.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.999e-05/0.2594, allocations: 330.4 kB / 395 MB, free: 17.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.414e-05/0.2595, allocations: 26.86 kB / 395 MB, free: 17.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.415e-05/0.2596, allocations: 27.38 kB / 395 MB, free: 17.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.482e-05/0.2597, allocations: 59.97 kB / 395.1 MB, free: 17.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2597, allocations: 3.938 kB / 395.1 MB, free: 17.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001529/0.2598, allocations: 115.9 kB / 395.2 MB, free: 17.28 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.2598, allocations: 4 kB / 395.2 MB, free: 17.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.2599, allocations: 0 / 395.2 MB, free: 17.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.2599, allocations: 4 kB / 395.2 MB, free: 17.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.776e-05/0.26, allocations: 19.92 kB / 395.2 MB, free: 17.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.26, allocations: 4.812 kB / 395.2 MB, free: 17.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.992e-05/0.26, allocations: 7.906 kB / 395.2 MB, free: 17.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.2601, allocations: 8.266 kB / 395.2 MB, free: 17.23 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.013e-05/0.2601, allocations: 121.5 kB / 395.4 MB, free: 17.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.2602, allocations: 15.81 kB / 395.4 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/0.2604, allocations: 108.7 kB / 395.5 MB, free: 17 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2604, allocations: 4 kB / 395.5 MB, free: 17 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2604, allocations: 0 / 395.5 MB, free: 17 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2604, allocations: 0 / 395.5 MB, free: 17 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.2607, allocations: 389.6 kB / 395.9 MB, free: 16.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2607, allocations: 0 / 395.9 MB, free: 16.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.576e-05/0.2608, allocations: 15.86 kB / 395.9 MB, free: 16.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2608, allocations: 3.938 kB / 395.9 MB, free: 16.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.2608, allocations: 4 kB / 395.9 MB, free: 16.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2608, allocations: 0 / 395.9 MB, free: 16.58 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2608, allocations: 4.031 kB / 395.9 MB, free: 16.58 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.2609, allocations: 184.4 kB / 396.1 MB, free: 16.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.261, allocations: 100.8 kB / 396.2 MB, free: 16.28 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.261, allocations: 3.562 kB / 396.2 MB, free: 16.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.712e-05/0.2611, allocations: 3.938 kB / 396.2 MB, free: 16.28 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.693e-05/0.2611, allocations: 4 kB / 396.2 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.483e-06/0.2611, allocations: 11.94 kB / 396.2 MB, free: 16.26 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.929e-05/0.2612, allocations: 151.4 kB / 396.3 MB, free: 16.13 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2612, allocations: 0 / 396.3 MB, free: 16.13 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003132/0.2616, allocations: 91.81 kB / 396.4 MB, free: 16.05 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002225/0.2618, allocations: 187.2 kB / 396.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001448/0.2619, allocations: 63.03 kB / 396.7 MB, free: 15.81 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2619, allocations: 8 kB / 396.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.986e-05/0.262, allocations: 23.48 kB / 396.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/0.2625, allocations: 68.53 kB / 396.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003793/0.2629, allocations: 318.2 kB / 397.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.263, allocations: 0.7087 MB / 397.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.18e-05/0.2631, allocations: 25.55 kB / 397.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.2631, allocations: 23.42 kB / 397.8 MB, free: 14.63 MB / 266.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2632, allocations: 0 / 397.8 MB, free: 14.63 MB / 266.7 MB Notification: Performance of Templates: time 0.005246/0.2684, allocations: 3.298 MB / 401.1 MB, free: 11.38 MB / 266.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe 2>&1)