Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.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.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") translateModel(OpenHydraulics.DevelopmentTests.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.001352/0.001352, allocations: 148.1 kB / 16.09 MB, free: 5.586 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.016/1.016, allocations: 150.7 MB / 167.5 MB, free: 5.895 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001318/0.001318, allocations: 85.89 kB / 202.8 MB, free: 2.531 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.04903/0.04903, allocations: 11.84 MB / 249.9 MB, free: 480 kB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.0003741, allocations: 9.078 kB / 297.7 MB, free: 26.63 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05799/0.05838, allocations: 37.14 MB / 334.8 MB, free: 5.73 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06991/0.1283, allocations: 51.77 MB / 386.6 MB, free: 1.891 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001813/0.1285, allocations: 63.97 kB / 386.6 MB, free: 1.828 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1302/0.2587, allocations: 8.066 MB / 394.7 MB, free: 55.6 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2588, allocations: 0 / 394.7 MB, free: 55.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.2588, allocations: 3.656 kB / 394.7 MB, free: 55.6 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0005921/0.2594, allocations: 0.547 MB / 395.2 MB, free: 55.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2594, allocations: 11.66 kB / 395.3 MB, free: 55.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.074e-05/0.2595, allocations: 27.69 kB / 395.3 MB, free: 55.1 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.2598, allocations: 270.4 kB / 395.5 MB, free: 54.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.2598, allocations: 11.06 kB / 395.6 MB, free: 54.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.2598, allocations: 21.03 kB / 395.6 MB, free: 54.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003742/0.2602, allocations: 218.4 kB / 395.8 MB, free: 54.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.2602, allocations: 3.938 kB / 395.8 MB, free: 54.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.2603, allocations: 10.03 kB / 395.8 MB, free: 54.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2603, allocations: 5.312 kB / 395.8 MB, free: 54.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003317/0.2606, allocations: 169.6 kB / 396 MB, free: 54.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.2617, allocations: 1.37 MB / 397.3 MB, free: 53.33 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003479/0.262, allocations: 109.9 kB / 397.5 MB, free: 53.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.2621, allocations: 52.94 kB / 397.5 MB, free: 53.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.635e-05/0.2622, allocations: 92.69 kB / 397.6 MB, free: 53.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.117e-05/0.2622, allocations: 32.03 kB / 397.6 MB, free: 53.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.2622, allocations: 0 / 397.6 MB, free: 53.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.002103/0.2643, allocations: 0.6403 MB / 398.3 MB, free: 52.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.983e-05/0.2644, allocations: 53.88 kB / 398.3 MB, free: 52.89 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Blocks/Sources.mo:583:9-583:77:writable] Warning: Parameter sine1.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.0+maint.om/Blocks/Sources.mo:583:9-583:77: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.0002588/0.2646, allocations: 256.9 kB / 398.6 MB, free: 52.73 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.2647, allocations: 25.7 kB / 398.6 MB, free: 52.7 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.247e-05/0.2647, allocations: 164.8 kB / 398.8 MB, free: 52.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.2648, allocations: 39.3 kB / 398.8 MB, free: 52.53 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.689e-06/0.2648, allocations: 9.438 kB / 398.8 MB, free: 52.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.688e-05/0.2648, allocations: 330.2 kB / 399.1 MB, free: 52.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.265, allocations: 72.48 kB / 399.2 MB, free: 52.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.2652, allocations: 124.2 kB / 399.3 MB, free: 52.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003529/0.2656, allocations: 192.6 kB / 399.5 MB, free: 52.01 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.2656, allocations: 0 / 399.5 MB, free: 52.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000454/0.2661, allocations: 237.1 kB / 399.7 MB, free: 51.92 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.2661, allocations: 9.375 kB / 399.7 MB, free: 51.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.2661, allocations: 4.812 kB / 399.8 MB, free: 51.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.2661, allocations: 2.281 kB / 399.8 MB, free: 51.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.2663, allocations: 52.14 kB / 399.8 MB, free: 51.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.2663, allocations: 1.375 kB / 399.8 MB, free: 51.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001602/0.2665, allocations: 30.83 kB / 399.8 MB, free: 51.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.2665, allocations: 9 kB / 399.8 MB, free: 51.9 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (18): * Single equations (assignments): 18 * 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 8.867e-05/0.2666, allocations: 135.7 kB / 400 MB, free: 51.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/0.2667, allocations: 26.92 kB / 400 MB, free: 51.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004574/0.2671, allocations: 215.3 kB / 400.2 MB, free: 51.67 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2671, allocations: 1.25 kB / 400.2 MB, free: 51.67 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2671, allocations: 0 / 400.2 MB, free: 51.67 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2672, allocations: 0 / 400.2 MB, free: 51.67 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.2674, allocations: 280.7 kB / 400.5 MB, free: 51.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2674, allocations: 1.25 kB / 400.5 MB, free: 51.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.2676, allocations: 44.64 kB / 400.5 MB, free: 51.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2676, allocations: 8.344 kB / 400.5 MB, free: 51.42 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.2676, allocations: 2.281 kB / 400.5 MB, free: 51.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2676, allocations: 0 / 400.5 MB, free: 51.42 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2676, allocations: 0 / 400.5 MB, free: 51.42 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004276/0.2681, allocations: 296 kB / 400.8 MB, free: 51.24 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.59e-05/0.2682, allocations: 115 kB / 400.9 MB, free: 51.13 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/0.2682, allocations: 9.219 kB / 401 MB, free: 51.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.2684, allocations: 21.39 kB / 401 MB, free: 51.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.2684, allocations: 7.938 kB / 401 MB, free: 51.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.2684, allocations: 9.812 kB / 401 MB, free: 51.11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001345/0.2686, allocations: 184.1 kB / 401.2 MB, free: 51.01 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2686, allocations: 0 / 401.2 MB, free: 51.01 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004127/0.269, allocations: 104.2 kB / 401.3 MB, free: 50.98 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (11): * Single equations (assignments): 11 * 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.0002397/0.2693, allocations: 181.6 kB / 401.5 MB, free: 50.87 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004273/0.2697, allocations: 179.2 kB / 401.6 MB, free: 50.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2697, allocations: 3.938 kB / 401.6 MB, free: 50.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.2699, allocations: 87.73 kB / 401.7 MB, free: 50.8 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006497/0.2706, allocations: 99.39 kB / 401.8 MB, free: 50.78 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000698/0.2713, allocations: 0.4979 MB / 402.3 MB, free: 50.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.2714, allocations: 0.7426 MB / 403.1 MB, free: 49.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001497/0.2716, allocations: 31.14 kB / 403.1 MB, free: 49.74 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.215e-05/0.2716, allocations: 23.47 kB / 403.1 MB, free: 49.73 MB / 266.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2716, allocations: 3.938 kB / 403.1 MB, free: 49.73 MB / 266.7 MB Notification: Performance of Templates: time 0.007102/0.2787, allocations: 3.954 MB / 407.1 MB, free: 47.9 MB / 266.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe 2>&1)