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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 111.7 kB / 16.37 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 199 kB / 17.31 MB, free: 5.574 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.456/1.456, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05494/0.05494, allocations: 11.85 MB / 282.4 MB, free: 244 kB / 222.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.003167/0.003167, allocations: 63.91 kB / 343.3 MB, free: 3.199 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2488, allocations: 49.21 MB / 392.5 MB, free: 49.63 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.003709/0.2525, allocations: 2.594 MB / 395.1 MB, free: 47.81 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002615/0.2552, allocations: 1.984 MB / 397.1 MB, free: 46.39 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002226/0.2554, allocations: 3.25 kB / 397.1 MB, free: 46.39 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002533/0.2557, allocations: 60.91 kB / 397.1 MB, free: 46.36 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002966/0.256, allocations: 109.4 kB / 397.2 MB, free: 46.28 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009642/0.257, allocations: 379.8 kB / 397.6 MB, free: 46.1 MB / 318.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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73: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. Notification: Performance of NFFlatten.flatten: time 0.0004017/0.2574, allocations: 306.6 kB / 397.9 MB, free: 45.94 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002116/0.2576, allocations: 97.33 kB / 398 MB, free: 45.89 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002328/0.2579, allocations: 107.1 kB / 398.1 MB, free: 45.85 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.2581, allocations: 119.6 kB / 398.2 MB, free: 45.79 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.268e-05/0.2581, allocations: 18.53 kB / 398.2 MB, free: 45.79 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004032/0.2585, allocations: 196.6 kB / 398.4 MB, free: 45.74 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.291e-05/0.2586, allocations: 44.25 kB / 398.5 MB, free: 45.71 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.2587, allocations: 131 kB / 398.6 MB, free: 45.63 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004903/0.2592, allocations: 360.6 kB / 399 MB, free: 45.49 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2592, allocations: 0.75 kB / 399 MB, free: 45.49 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2592, allocations: 1.031 kB / 399 MB, free: 45.49 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.2593, allocations: 0 / 399 MB, free: 45.49 MB / 318.1 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.0006465/0.2599, allocations: 0.5546 MB / 399.5 MB, free: 45 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.26, allocations: 17.66 kB / 399.5 MB, free: 44.99 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.548e-05/0.26, allocations: 25.62 kB / 399.6 MB, free: 44.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.2603, allocations: 268.6 kB / 399.8 MB, free: 44.72 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.2603, allocations: 11 kB / 399.8 MB, free: 44.71 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.2604, allocations: 19.91 kB / 399.8 MB, free: 44.71 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003429/0.2607, allocations: 209.8 kB / 400.1 MB, free: 44.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.2607, allocations: 7.938 kB / 400.1 MB, free: 44.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.2608, allocations: 10.94 kB / 400.1 MB, free: 44.56 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.2608, allocations: 3.469 kB / 400.1 MB, free: 44.56 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002981/0.2611, allocations: 148.5 kB / 400.2 MB, free: 44.49 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.2622, allocations: 1.222 MB / 401.4 MB, free: 43.24 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003395/0.2625, allocations: 104 kB / 401.5 MB, free: 43.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.2626, allocations: 46.48 kB / 401.6 MB, free: 43.15 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.395e-05/0.2627, allocations: 86.3 kB / 401.7 MB, free: 43.05 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.399e-05/0.2627, allocations: 39.56 kB / 401.7 MB, free: 43.01 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.2627, allocations: 0 / 401.7 MB, free: 43.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.002041/0.2648, allocations: 0.5201 MB / 402.2 MB, free: 42.74 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/0.2648, allocations: 52.72 kB / 402.3 MB, free: 42.68 MB / 318.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 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.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.0002495/0.2651, allocations: 262.7 kB / 402.5 MB, free: 42.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.2651, allocations: 30.83 kB / 402.6 MB, free: 42.46 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.586e-05/0.2652, allocations: 165.2 kB / 402.7 MB, free: 42.31 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.2652, allocations: 39.73 kB / 402.8 MB, free: 42.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.752e-05/0.2653, allocations: 34.61 kB / 402.8 MB, free: 42.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.072e-05/0.2653, allocations: 336.8 kB / 403.1 MB, free: 41.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.2655, allocations: 62.42 kB / 403.2 MB, free: 41.89 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.2657, allocations: 104.4 kB / 403.3 MB, free: 41.81 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/0.2661, allocations: 166.3 kB / 403.5 MB, free: 41.7 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2661, allocations: 1.531 kB / 403.5 MB, free: 41.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004452/0.2665, allocations: 220.8 kB / 403.7 MB, free: 41.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2665, allocations: 8.188 kB / 403.7 MB, free: 41.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.2666, allocations: 5.094 kB / 403.7 MB, free: 41.58 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.2666, allocations: 1.094 kB / 403.7 MB, free: 41.58 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.2668, allocations: 56.33 kB / 403.7 MB, free: 41.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.2668, allocations: 1.344 kB / 403.7 MB, free: 41.56 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.267, allocations: 16.33 kB / 403.8 MB, free: 41.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.267, allocations: 10.12 kB / 403.8 MB, free: 41.55 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.529e-05/0.2671, allocations: 128.6 kB / 403.9 MB, free: 41.42 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.584e-05/0.2672, allocations: 26.5 kB / 403.9 MB, free: 41.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004426/0.2676, allocations: 194.9 kB / 404.1 MB, free: 41.29 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.2676, allocations: 1.312 kB / 404.1 MB, free: 41.29 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.2676, allocations: 1.188 kB / 404.1 MB, free: 41.29 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.2676, allocations: 3.984 kB / 404.1 MB, free: 41.29 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.2679, allocations: 280 kB / 404.4 MB, free: 41.01 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2679, allocations: 5.219 kB / 404.4 MB, free: 41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.2681, allocations: 28.78 kB / 404.4 MB, free: 41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.2681, allocations: 4.953 kB / 404.4 MB, free: 40.99 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.2681, allocations: 6.188 kB / 404.4 MB, free: 40.99 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2681, allocations: 0 / 404.4 MB, free: 40.99 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2681, allocations: 1.062 kB / 404.4 MB, free: 40.99 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004795/0.2686, allocations: 284.8 kB / 404.7 MB, free: 40.78 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.032e-05/0.2687, allocations: 111.6 kB / 404.8 MB, free: 40.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.2687, allocations: 1.094 kB / 404.8 MB, free: 40.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.2689, allocations: 15.48 kB / 404.8 MB, free: 40.65 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.2689, allocations: 8.391 kB / 404.8 MB, free: 40.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.269, allocations: 6.266 kB / 404.9 MB, free: 40.64 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001436/0.2691, allocations: 184.8 kB / 405 MB, free: 40.51 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2691, allocations: 4 kB / 405 MB, free: 40.51 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004384/0.2696, allocations: 94.83 kB / 405.1 MB, free: 40.48 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002454/0.2698, allocations: 159.7 kB / 405.3 MB, free: 40.37 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004109/0.2702, allocations: 169.1 kB / 405.5 MB, free: 40.29 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.2702, allocations: 0 / 405.5 MB, free: 40.29 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.2704, allocations: 65.3 kB / 405.5 MB, free: 40.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.2709, allocations: 68.03 kB / 405.6 MB, free: 40.23 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008513/0.2717, allocations: 438.8 kB / 406 MB, free: 39.94 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.2719, allocations: 0.7389 MB / 406.7 MB, free: 39.21 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.272, allocations: 26.73 kB / 406.8 MB, free: 39.2 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.997e-05/0.2721, allocations: 32.23 kB / 406.8 MB, free: 39.18 MB / 318.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2721, allocations: 0 / 406.8 MB, free: 39.18 MB / 318.1 MB Notification: Performance of Templates: time 0.006974/0.2791, allocations: 3.78 MB / 410.6 MB, free: 36.64 MB / 318.1 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 -s cvode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe 2>&1)