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.001576/0.001576, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001695/0.001695, allocations: 191 kB / 17.29 MB, free: 5.516 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.296/1.296, allocations: 205.1 MB / 223.2 MB, free: 12.11 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.05559/0.05559, allocations: 11.85 MB / 282.4 MB, free: 216 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.001728/0.001728, allocations: 71.89 kB / 343.3 MB, free: 3.176 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1924, allocations: 49.21 MB / 392.5 MB, free: 49.39 MB / 318.1 MB Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.003121/0.1956, allocations: 2.596 MB / 395.1 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002146/0.1977, allocations: 1.981 MB / 397.1 MB, free: 46.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.1979, allocations: 3.719 kB / 397.1 MB, free: 46.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002135/0.1981, allocations: 60.45 kB / 397.1 MB, free: 46.12 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.1983, allocations: 110.2 kB / 397.2 MB, free: 46.04 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006735/0.199, allocations: 372 kB / 397.6 MB, free: 45.88 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.0002735/0.1993, allocations: 301.8 kB / 397.9 MB, free: 45.72 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.1995, allocations: 102 kB / 398 MB, free: 45.67 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.1996, allocations: 108 kB / 398.1 MB, free: 45.62 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.1998, allocations: 126.4 kB / 398.2 MB, free: 45.55 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.1998, allocations: 18.56 kB / 398.2 MB, free: 45.55 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002976/0.2001, allocations: 187.9 kB / 398.4 MB, free: 45.51 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.727e-05/0.2002, allocations: 40.31 kB / 398.5 MB, free: 45.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.2003, allocations: 138.6 kB / 398.6 MB, free: 45.4 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004059/0.2007, allocations: 362 kB / 398.9 MB, free: 45.26 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2007, allocations: 0 / 398.9 MB, free: 45.26 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2007, allocations: 0 / 398.9 MB, free: 45.26 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.2007, allocations: 4 kB / 398.9 MB, free: 45.26 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.0006011/0.2013, allocations: 0.5606 MB / 399.5 MB, free: 44.76 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.2014, allocations: 16.73 kB / 399.5 MB, free: 44.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/0.2014, allocations: 28.53 kB / 399.5 MB, free: 44.74 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/0.2017, allocations: 262.2 kB / 399.8 MB, free: 44.49 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.2017, allocations: 16.11 kB / 399.8 MB, free: 44.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.2017, allocations: 18.62 kB / 399.8 MB, free: 44.47 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.2021, allocations: 223.4 kB / 400.1 MB, free: 44.33 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2021, allocations: 1.375 kB / 400.1 MB, free: 44.33 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.2021, allocations: 5.375 kB / 400.1 MB, free: 44.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2021, allocations: 4.375 kB / 400.1 MB, free: 44.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003089/0.2025, allocations: 157 kB / 400.2 MB, free: 44.25 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.2035, allocations: 1.209 MB / 401.4 MB, free: 43.01 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003408/0.2039, allocations: 108.2 kB / 401.5 MB, free: 42.95 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.204, allocations: 46.78 kB / 401.6 MB, free: 42.92 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.474e-05/0.2041, allocations: 89.61 kB / 401.7 MB, free: 42.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.322e-05/0.2041, allocations: 35.69 kB / 401.7 MB, free: 42.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.2041, allocations: 0 / 401.7 MB, free: 42.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.002097/0.2062, allocations: 0.5044 MB / 402.2 MB, free: 42.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.741e-05/0.2062, allocations: 60.8 kB / 402.3 MB, free: 42.45 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.0002339/0.2065, allocations: 263 kB / 402.5 MB, free: 42.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.2065, allocations: 26.95 kB / 402.6 MB, free: 42.24 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/0.2065, allocations: 164.5 kB / 402.7 MB, free: 42.09 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.2066, allocations: 36.02 kB / 402.7 MB, free: 42.05 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.2066, allocations: 42.64 kB / 402.8 MB, free: 42.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.37e-05/0.2067, allocations: 332.5 kB / 403.1 MB, free: 41.69 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.2069, allocations: 66.98 kB / 403.2 MB, free: 41.66 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.2071, allocations: 108.3 kB / 403.3 MB, free: 41.58 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/0.2074, allocations: 173.2 kB / 403.5 MB, free: 41.47 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2074, allocations: 0 / 403.5 MB, free: 41.47 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004407/0.2079, allocations: 219.4 kB / 403.7 MB, free: 41.35 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.2079, allocations: 6 kB / 403.7 MB, free: 41.35 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.2079, allocations: 2.219 kB / 403.7 MB, free: 41.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.2079, allocations: 1.156 kB / 403.7 MB, free: 41.35 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.2081, allocations: 43.53 kB / 403.7 MB, free: 41.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2081, allocations: 6.125 kB / 403.7 MB, free: 41.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.2083, allocations: 24.58 kB / 403.8 MB, free: 41.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.2083, allocations: 9.797 kB / 403.8 MB, free: 41.32 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 8.18e-05/0.2084, allocations: 137.1 kB / 403.9 MB, free: 41.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.565e-05/0.2085, allocations: 24.84 kB / 403.9 MB, free: 41.17 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004352/0.2089, allocations: 198.6 kB / 404.1 MB, free: 41.05 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2089, allocations: 0.9375 kB / 404.1 MB, free: 41.05 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2089, allocations: 1.188 kB / 404.1 MB, free: 41.05 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2089, allocations: 0 / 404.1 MB, free: 41.05 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.2092, allocations: 280.6 kB / 404.4 MB, free: 40.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2092, allocations: 0 / 404.4 MB, free: 40.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.2093, allocations: 33.56 kB / 404.4 MB, free: 40.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.2094, allocations: 1.219 kB / 404.4 MB, free: 40.76 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.2094, allocations: 1.312 kB / 404.4 MB, free: 40.76 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.2094, allocations: 5.203 kB / 404.4 MB, free: 40.76 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2094, allocations: 4 kB / 404.4 MB, free: 40.75 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004218/0.2098, allocations: 279.1 kB / 404.7 MB, free: 40.55 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.63e-05/0.2099, allocations: 112.1 kB / 404.8 MB, free: 40.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.2099, allocations: 5.312 kB / 404.8 MB, free: 40.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.2101, allocations: 14.58 kB / 404.8 MB, free: 40.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.2102, allocations: 11.89 kB / 404.8 MB, free: 40.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.2102, allocations: 2.781 kB / 404.8 MB, free: 40.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.2103, allocations: 185.6 kB / 405 MB, free: 40.28 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2103, allocations: 0 / 405 MB, free: 40.28 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003724/0.2107, allocations: 89.69 kB / 405.1 MB, free: 40.26 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.0002245/0.2109, allocations: 172.1 kB / 405.3 MB, free: 40.13 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004131/0.2114, allocations: 152.7 kB / 405.4 MB, free: 40.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2114, allocations: 0 / 405.4 MB, free: 40.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.2115, allocations: 73.67 kB / 405.5 MB, free: 40.04 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.2119, allocations: 63.97 kB / 405.6 MB, free: 40 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007651/0.2127, allocations: 443.8 kB / 406 MB, free: 39.71 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.2129, allocations: 0.7514 MB / 406.8 MB, free: 38.97 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001252/0.213, allocations: 30.77 kB / 406.8 MB, free: 38.95 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.83e-05/0.213, allocations: 27.48 kB / 406.8 MB, free: 38.94 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2131, allocations: 1.125 kB / 406.8 MB, free: 38.94 MB / 318.1 MB Notification: Performance of Templates: time 0.007029/0.2201, allocations: 3.764 MB / 410.6 MB, free: 36.48 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 gbode -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe 2>&1)