Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.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.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") translateModel(OpenHydraulics.DevelopmentTests.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 1.1.0/package.mo): time 0.0007272/0.0007272, allocations: 146.8 kB / 16.09 MB, free: 5.602 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 0.9315/0.9315, allocations: 150.7 MB / 167.5 MB, free: 2.562 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.1.0/package.mo): time 0.001319/0.001319, allocations: 85.91 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.1286/0.1286, allocations: 11.83 MB / 249.9 MB, free: 34.29 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003562, allocations: 8 kB / 297.7 MB, free: 7.988 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.066/0.06637, allocations: 37.15 MB / 334.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1843/0.2507, allocations: 48.72 MB / 383.5 MB, free: 26.37 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/0.2509, allocations: 62.66 kB / 383.6 MB, free: 26.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007655/0.2586, allocations: 3.029 MB / 386.6 MB, free: 24.49 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2586, allocations: 0 / 386.6 MB, free: 24.49 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.2586, allocations: 4 kB / 386.6 MB, free: 24.49 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0003958/0.259, allocations: 442 kB / 387.1 MB, free: 24.03 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.2591, allocations: 9.719 kB / 387.1 MB, free: 24.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.822e-05/0.2591, allocations: 14.92 kB / 387.1 MB, free: 24.01 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.2593, allocations: 194.5 kB / 387.3 MB, free: 23.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.2593, allocations: 4.375 kB / 387.3 MB, free: 23.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.2593, allocations: 12.12 kB / 387.3 MB, free: 23.78 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.2595, allocations: 103.3 kB / 387.4 MB, free: 23.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2596, allocations: 192 / 387.4 MB, free: 23.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.2596, allocations: 21.19 kB / 387.4 MB, free: 23.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.2596, allocations: 0 / 387.4 MB, free: 23.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002192/0.2598, allocations: 90.03 kB / 387.5 MB, free: 23.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005558/0.2604, allocations: 0.5872 MB / 388.1 MB, free: 23.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.2606, allocations: 92.5 kB / 388.2 MB, free: 23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.2607, allocations: 59.91 kB / 388.2 MB, free: 22.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.2607, allocations: 0 / 388.2 MB, free: 22.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.573e-05/0.2608, allocations: 32.66 kB / 388.3 MB, free: 22.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.2608, allocations: 0 / 388.3 MB, free: 22.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.001292/0.2621, allocations: 496.9 kB / 388.7 MB, free: 22.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.2621, allocations: 77.11 kB / 388.8 MB, free: 22.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.663e-05/0.2622, allocations: 138.6 kB / 389 MB, free: 22.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.2622, allocations: 29.33 kB / 389 MB, free: 22.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.892e-05/0.2623, allocations: 102.7 kB / 389.1 MB, free: 22.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.592e-05/0.2623, allocations: 38.67 kB / 389.1 MB, free: 22.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-06/0.2623, allocations: 4 kB / 389.1 MB, free: 22.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.461e-05/0.2624, allocations: 321.8 kB / 389.4 MB, free: 21.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.2625, allocations: 59.02 kB / 389.5 MB, free: 21.81 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.2627, allocations: 75.12 kB / 389.6 MB, free: 21.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/0.263, allocations: 189.6 kB / 389.8 MB, free: 21.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.263, allocations: 0 / 389.8 MB, free: 21.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003671/0.2634, allocations: 200.8 kB / 390 MB, free: 21.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.2635, allocations: 35.92 kB / 390 MB, free: 21.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2635, allocations: 7.875 kB / 390 MB, free: 21.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.2635, allocations: 4.031 kB / 390 MB, free: 21.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.2637, allocations: 31.69 kB / 390 MB, free: 21.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.577e-06/0.2637, allocations: 9.391 kB / 390 MB, free: 21.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.2638, allocations: 16.97 kB / 390.1 MB, free: 21.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.2638, allocations: 6.484 kB / 390.1 MB, free: 21.34 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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 7.713e-05/0.2639, allocations: 152.8 kB / 390.2 MB, free: 21.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.2639, allocations: 7.906 kB / 390.2 MB, free: 21.18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004582/0.2644, allocations: 233.4 kB / 390.4 MB, free: 21.01 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.2644, allocations: 4 kB / 390.5 MB, free: 21 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2644, allocations: 5.625 kB / 390.5 MB, free: 21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2644, allocations: 0 / 390.5 MB, free: 21 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.2646, allocations: 211.9 kB / 390.7 MB, free: 20.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.2646, allocations: 0 / 390.7 MB, free: 20.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.2648, allocations: 38.89 kB / 390.7 MB, free: 20.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2648, allocations: 4 kB / 390.7 MB, free: 20.76 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.2648, allocations: 0 / 390.7 MB, free: 20.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2648, allocations: 1.031 kB / 390.7 MB, free: 20.76 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2648, allocations: 3.938 kB / 390.7 MB, free: 20.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003975/0.2652, allocations: 309 kB / 391 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.2653, allocations: 94.19 kB / 391.1 MB, free: 20.38 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.2653, allocations: 9.547 kB / 391.1 MB, free: 20.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.2655, allocations: 16.78 kB / 391.1 MB, free: 20.37 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.2655, allocations: 15.16 kB / 391.1 MB, free: 20.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.2656, allocations: 7.938 kB / 391.2 MB, free: 20.35 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.459e-05/0.2656, allocations: 114.5 kB / 391.3 MB, free: 20.26 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2656, allocations: 0 / 391.3 MB, free: 20.26 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002515/0.2659, allocations: 31.44 kB / 391.3 MB, free: 20.23 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001097/0.266, allocations: 124.8 kB / 391.4 MB, free: 20.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003991/0.2664, allocations: 192.7 kB / 391.6 MB, free: 19.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2664, allocations: 4 kB / 391.6 MB, free: 19.95 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.2666, allocations: 127.1 kB / 391.7 MB, free: 19.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/0.2671, allocations: 58.66 kB / 391.8 MB, free: 19.8 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004256/0.2675, allocations: 330.2 kB / 392.1 MB, free: 19.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.2676, allocations: 0.7131 MB / 392.8 MB, free: 18.79 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.302e-05/0.2677, allocations: 16.34 kB / 392.8 MB, free: 18.78 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.2678, allocations: 24.83 kB / 392.9 MB, free: 18.76 MB / 266.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2678, allocations: 0 / 392.9 MB, free: 18.76 MB / 266.7 MB Notification: Performance of Templates: time 0.00432/0.2721, allocations: 2.047 MB / 394.9 MB, free: 16.98 MB / 266.7 MB make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.makefile (rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe 2>&1)