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/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.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/Complex 1.1.0/package.mo): time 0.001635/0.001635, allocations: 157 kB / 15.95 MB, free: 5.789 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.116/1.116, allocations: 150.5 MB / 167.2 MB, free: 2.188 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001449/0.00145, allocations: 93.95 kB / 201.9 MB, free: 12.34 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.1472/0.1472, allocations: 11.83 MB / 248.2 MB, free: 33.44 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.91 kB / 295.4 MB, free: 8.473 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07973/0.081, allocations: 36.44 MB / 331.9 MB, free: 4.004 MB / 250.7 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest2): time 0.004666/0.08572, allocations: 3.243 MB / 335.1 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003345/0.08911, allocations: 2.173 MB / 337.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001888/0.08933, allocations: 7.938 kB / 337.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003462/0.08968, allocations: 63.64 kB / 337.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003832/0.09011, allocations: 159 kB / 337.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008878/0.09101, allocations: 323 kB / 337.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004232/0.09144, allocations: 382 kB / 338.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.0916, allocations: 48.7 kB / 338.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.09182, allocations: 131.5 kB / 338.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.09207, allocations: 155.2 kB / 338.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.75e-05/0.09212, allocations: 16 kB / 338.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005208/0.09265, allocations: 251.7 kB / 338.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.09277, allocations: 59.7 kB / 338.8 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.09292, allocations: 147.2 kB / 339 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006189/0.09355, allocations: 482.7 kB / 339.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.09356, allocations: 0 / 339.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.09358, allocations: 0 / 339.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.09359, allocations: 0 / 339.5 MB, free: 12.38 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009189/0.09451, allocations: 0.6282 MB / 340.1 MB, free: 11.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.09456, allocations: 12.03 kB / 340.1 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.956e-05/0.09464, allocations: 36.47 kB / 340.1 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003481/0.095, allocations: 291.5 kB / 340.4 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.09503, allocations: 16.81 kB / 340.4 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.31e-05/0.09507, allocations: 23.94 kB / 340.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004401/0.09551, allocations: 235.2 kB / 340.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.09554, allocations: 4 kB / 340.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.09557, allocations: 4 kB / 340.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.09559, allocations: 8 kB / 340.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004492/0.09604, allocations: 253.6 kB / 340.9 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.09764, allocations: 1.325 MB / 342.3 MB, free: 9.273 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004103/0.09807, allocations: 174.8 kB / 342.4 MB, free: 9.094 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.09827, allocations: 92.81 kB / 342.5 MB, free: 9 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001937/0.09847, allocations: 178.1 kB / 342.7 MB, free: 8.789 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.09851, allocations: 30.56 kB / 342.7 MB, free: 8.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.653e-06/0.09852, allocations: 0 / 342.7 MB, free: 8.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0263/0.1248, allocations: 2.734 MB / 345.5 MB, free: 5.961 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.1249, allocations: 63.33 kB / 345.5 MB, free: 5.887 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 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.0004526/0.1254, allocations: 324.4 kB / 345.9 MB, free: 5.562 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.285e-05/0.1254, allocations: 29.7 kB / 345.9 MB, free: 5.527 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.1255, allocations: 176.7 kB / 346.1 MB, free: 5.352 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.546e-05/0.1256, allocations: 102.5 kB / 346.2 MB, free: 5.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.1258, allocations: 77.66 kB / 346.2 MB, free: 5.168 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.126, allocations: 350.8 kB / 346.6 MB, free: 4.816 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008115/0.1268, allocations: 271.8 kB / 346.8 MB, free: 4.551 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008422/0.1276, allocations: 314.5 kB / 347.1 MB, free: 4.234 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001692/0.1293, allocations: 0.5568 MB / 347.7 MB, free: 3.668 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1294, allocations: 0 / 347.7 MB, free: 3.668 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.002763/0.1321, allocations: 0.8539 MB / 348.6 MB, free: 2.801 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.1322, allocations: 7.984 kB / 348.6 MB, free: 2.793 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1322, allocations: 0 / 348.6 MB, free: 2.793 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002043/0.1342, allocations: 0.8797 MB / 349.4 MB, free: 1.906 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/0.1345, allocations: 55.89 kB / 349.5 MB, free: 1.852 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003174/0.1377, allocations: 1.659 MB / 351.2 MB, free: 144 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006407/0.1384, allocations: 43.92 kB / 351.2 MB, free: 100 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.48e-05/0.1385, allocations: 19.98 kB / 351.2 MB, free: 80 kB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (throttleValve.data.zetaLaminarKnown,throttleValve.MeteringTable.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.1495/0.288, allocations: 158.1 kB / 351.4 MB, free: 45.69 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.2882, allocations: 33 kB / 351.4 MB, free: 45.69 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003016/0.2912, allocations: 0.8956 MB / 352.3 MB, free: 45.64 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.393e-06/0.2912, allocations: 5.188 kB / 352.3 MB, free: 45.64 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.2912, allocations: 0.5156 kB / 352.3 MB, free: 45.64 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.2912, allocations: 2.578 kB / 352.3 MB, free: 45.64 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004718/0.296, allocations: 1.748 MB / 354.1 MB, free: 44.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.296, allocations: 5.266 kB / 354.1 MB, free: 44.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002829/0.2963, allocations: 58.83 kB / 354.1 MB, free: 44.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001742/0.298, allocations: 0.7319 MB / 354.9 MB, free: 44.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-05/0.2981, allocations: 18.84 kB / 354.9 MB, free: 44.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004007/0.3021, allocations: 1.689 MB / 356.6 MB, free: 43.52 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3021, allocations: 5.25 kB / 356.6 MB, free: 43.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003242/0.3054, allocations: 1.774 MB / 358.3 MB, free: 42.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/0.3056, allocations: 164.5 kB / 358.5 MB, free: 42.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.671e-05/0.3057, allocations: 10.3 kB / 358.5 MB, free: 42.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004991/0.3062, allocations: 45.17 kB / 358.6 MB, free: 42.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.417e-05/0.3063, allocations: 21.88 kB / 358.6 MB, free: 42.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.275e-05/0.3063, allocations: 21.56 kB / 358.6 MB, free: 42.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000199/0.3066, allocations: 233.5 kB / 358.8 MB, free: 42.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3066, allocations: 0 / 358.8 MB, free: 42.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007517/0.3073, allocations: 231.1 kB / 359 MB, free: 42.15 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (throttleValve.MeteringTable.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007322/0.3081, allocations: 283.3 kB / 359.3 MB, free: 42.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00234/0.3104, allocations: 0.6418 MB / 360 MB, free: 41.85 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3104, allocations: 0 / 360 MB, free: 41.85 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002781/0.3132, allocations: 458.7 kB / 360.4 MB, free: 41.76 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008857/0.3141, allocations: 130.3 kB / 360.5 MB, free: 41.72 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.3157, allocations: 1.092 MB / 361.6 MB, free: 41.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.316, allocations: 0.786 MB / 362.4 MB, free: 40.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002493/0.3162, allocations: 57.33 kB / 362.5 MB, free: 40.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.905e-05/0.3163, allocations: 34.08 kB / 362.5 MB, free: 40.3 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.3163, allocations: 0.6562 kB / 362.5 MB, free: 40.3 MB / 266.7 MB Notification: Performance of Templates: time 0.02008/0.3364, allocations: 15.26 MB / 377.8 MB, free: 36.69 MB / 266.7 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)